Professional Documents
Culture Documents
FFFFF
Memory
IP 8-bit 00000
5A 00001
2000 (0)
CS 2000
DS 20000
Address Bus: 20-Bit Code
SS
ES
FFFFF
Memory
IP 0000 8-bit 00000
2000 0 + 5A 00001
0000 =
CS 2000 20000
DS 20000
Address Bus: 20-Bit
SS
ES
FFFFF
Memory
IP 0001 8-bit 00000
2000 0 + 5A 00001
0001 =
CS 2000 20001
DS 20000
Address Bus: 20-Bit
SS 20001
ES
FFFFF
Memory
IP FFFF
8-bit 00000
2000 0 + 5A 00001
FFFF =
CS 2000
DS 2FFFF
20000
Address Bus: 20-Bit
SS 20001
ES
FFFFF
Memory
IP FFFF
8-bit 00000
5A 00001
CS 2000
DS 20000
Address Bus: 20-Bit
SS 20001
ES Code = 64 k Byte
Data Bus: 8-Bit
2FFFF
FFFFF
Memory
IP FFFF
8-bit 00000
5A 00001
4000 (0)
CS 2000
DS 4000 20000
Address Bus: 20-Bit
SS
ES 40000
FFFFF
Memory
IP FFFF
8-bit 00000
5A 00001
5000 (0)
CS 2000
DS 4000 20000
Address Bus: 20-Bit
SS 5000
ES 40000
FFFFF
Memory
IP FFFF
8-bit 00000
5A 00001
AF00 (0)
CS 2000
DS 4000 20000
Address Bus: 20-Bit
SS 5000
ES AF00 40000
AF000
FFFFF
Memory
IP FFFF
8-bit 00000
-A 100
5A 00001
CS 2000 2000 0 + 100
DS 4000 = 20100
20000
SS 5000
ES AF00
20100
2FFFF
Data Bus: 8-Bit
FFFFF
Memory
IP FFFF
8-bit 00000
-A 100
5A 00001
CS 2000 2000:0100 MOVAX,1001
2000:0101 MOV BX,0002
DS 4000 20000
2000:0102 ADD AX,BX
SS 5000
2000:0103 PUSH AX MOVAX, 1001
ES AF00 20100
MOVBX, 0002 20101
Address Bus: 20-Bit ADD AX, BX 20102
PUSH AX 20103
CPU BUS
20000
Arith
Control Unit MOVAX, 1001
20100
metic
Logic Instruction MOVBX, 0002 20101
Unit Decoder
ADD AX, BX 20102
PUSH AX 20103
2FFFF
FFFFF
Memory
IP 0100 CS 2000 Registers
8-bit 00000
CPU BUS
20000
20000
2000(0) + 0100 =
20100
Arith Control Unit
metic MOVAX, 1001
20100
Logic Instruction
Decoder
MOVBX, 0002 20101
Unit
ADD AX, BX 20102
Control Bus PUSH AX 20103
20000
Arith 20100
Control Unit
metic MOVAX, 1001
20100
Logic Instruction
Decoder
MOVBX, 0002 20101
Unit
ADD AX, BX 20102
Control Bus PUSH AX 20103
20000
Read
Arith Control Unit
metic MOVAX, 1001
20100
Logic Instruction
Decoder
MOVBX, 0002 20101
Unit
ADD AX, BX 20102
Control Bus PUSH AX 20103
Read 20000
Read 20000
20000
2000(0) + 0101 =
20101
Arith Control Unit
metic MOVAX, 1001
20100
Logic Instruction
Decoder
MOVBX, 0002 20101
Unit
ADD AX, BX 20102
Control Bus PUSH AX 20103
20000
Arith 20101
Control Unit
metic MOVAX, 1001
20100
Logic Instruction
Decoder
MOVBX, 0002 20101
Unit
ADD AX, BX 20102
Control Bus PUSH AX 20103
20000
Read
Arith Control Unit
metic MOVAX, 1001
20100
Logic Instruction
Decoder
MOVBX, 0002 20101
Unit
ADD AX, BX 20102
Control Bus PUSH AX 20103
Read 20000
Read 20000
20000
2000(0) + 0102 =
20102
Arith Control Unit
metic MOVAX, 1001
20100
Logic Instruction
Decoder
MOVBX, 0002 20101
Unit
ADD AX, BX 20102
Control Bus PUSH AX 20103
20000
Arith 20102
Control Unit
metic MOVAX, 1001
20100
Logic Instruction
Decoder
MOVBX, 0002 20101
Unit
ADD AX, BX 20102
Control Bus PUSH AX 20103
20000
Read
Arith Control Unit
metic MOVAX, 1001
20100
Logic Instruction
Decoder
MOVBX, 0002 20101
Unit
ADD AX, BX 20102
Control Bus PUSH AX 20103
Read 20000
Read 20000
20000
2000(0) + 0103 =
20103
Arith Control Unit
metic MOVAX, 1001
20100
Logic Instruction
Decoder
MOVBX, 0002 20101
Unit
ADD AX, BX 20102
Control Bus PUSH AX 20103
20000
Arith 20103
Control Unit
metic MOVAX, 1001
20100
Logic Instruction
Decoder
MOVBX, 0002 20101
Unit
ADD AX, BX 20102
Control Bus PUSH AX 20103
20000
Read
Arith Control Unit
metic MOVAX, 1001
20100
Logic Instruction
Decoder
MOVBX, 0002 20101
Unit
ADD AX, BX 20102
Control Bus PUSH AX 20103
Read 20000
SP 0FFE
Read 20000
FFFFF
Memory
IP 0100
0103 CS 2000 Registers
AX = 1003
8-bit 00000
SS 5000
20000
SP 0FFC
MOVAX, 1001
Write 20100
MOVBX, 0002 20101
Arith Control Unit
metic ADD AX, BX 20102
Logic Instruction
Decoder
PUSH AX 20103
Unit PUSH AX
2FFFF
Control Bus
50FFE
10
Address Bus: 20-Bit 50FFD 50FFD
03 50FFC
Data Bus: 8-Bit 10
FFFFF