200 likes | 209 Views
This lecture explores examples of CPU architectures, including Apple I (1976), Apple II (1977), Atari 800 (1979), and IBM PC (1981), as well as the principles behind logical and physical addressing.
E N D
Principles of Computers14thLecture Pavel Ježek, Ph.D.pavel.jezek@d3s.mff.cuni.cz
Examples of CPU Architectures Apple I (1976) Apple II (1977) Atari 800 (1979)
Examples of CPU Architectures Apple I (1976) Apple II (1977) Atari 800 (1979)
Examples of CPU Architectures Apple I (1976) Apple II (1977) Atari 800 (1979) IBM PC (1981)
Examples of CPU Architectures IBM PC (1981)
Examples of CPU Architectures IBM PC (1981) logical address (16 bit & 16 bit): Segment:Offset
Examples of CPU Architectures IBM PC (1981) physical address (20 bit): (Segment * 16) + Offset logical address (16 bit & 16 bit): Segment:Offset
Examples of CPU Architectures IBM PC (1981) physical address (20 bit): (Segment * 16) + Offset logical address (16 bit & 16 bit): Segment:Offset logical address: $AAAA:$0000 physical address: $AAAA * 16 = $AAAA shl 4 = $AAAA0 + $0000 = $AAAA0
Examples of CPU Architectures IBM PC (1981) physical address (20 bit): (Segment * 16) + Offset logical address (16 bit & 16 bit): Segment:Offset logical address: $AAAA:$0000 physical address: $AAAA * 16 = $AAAA shl 4 = $AAAA0 + $0000 = $AAAA0 logical address: $A000:$AAA0 physical address: $A000 * 16 = $A000 shl 4 = $A0000 + $AAA0 = $AAAA0
Examples of CPU Architectures IBM PC (1981) physical address (20 bit): (Segment * 16) + Offset logical address (16 bit & 16 bit): Segment:Offset logical address: $AAAA:$0000 physical address: $AAAA * 16 = $AAAA shl 4 = $AAAA0 + $0000 = $AAAA0 logical address: $A100:$9AA0 physical address: $A100 * 16 = $A100 shl 4 = $A1000 + $9AA0 = $AAAA0 logical address: $A000:$AAA0 physical address: $A000 * 16 = $A000 shl 4 = $A0000 + $AAA0 = $AAAA0
Examples of CPU Architectures IBM PC (1981) physical address (20 bit): (Segment * 16) + Offset logical address (16 bit & 16 bit): Segment:Offset Address space aliasing logical address: $AAAA:$0000 physical address: $AAAA * 16 = $AAAA shl 4 = $AAAA0 + $0000 = $AAAA0 logical address: $A100:$9AA0 physical address: $A100 * 16 = $A100 shl 4 = $A1000 + $9AA0 = $AAAA0 logical address: $A000:$AAA0 physical address: $A000 * 16 = $A000 shl 4 = $A0000 + $AAA0 = $AAAA0
Examples of CPU Architectures IBM PC (1981) physical address (20 bit): (Segment * 16) + Offset logical address (16 bit & 16 bit): Segment:Offset Address space aliasing logical address: $AAAA:$0000 physical address: $AAAA * 16 = $AAAA shl 4 = $AAAA0 + $0000 = $AAAA0 logical address: $A100:$9AA0 physical address: $A100 * 16 = $A100 shl 4 = $A1000 + $9AA0 = $AAAA0 logical address: $A000:$AAA0 physical address: $A000 * 16 = $A000 shl 4 = $A0000 + $AAA0 = $AAAA0
Examples of CPU Architectures IBM PC (1981)