Académique Documents
Professionnel Documents
Culture Documents
External Input
Control word
Next-address information
Chapter # 7
Figure 7 2
Branch Logic
MUX Select
Branch address
Micro operations
Chapter # 7
Figure 7 3
Address
00
Mapping bits
0 x x x
x
Microinstruction address
0 0
Chapter # 7
Figure 7 4
AR
10 0 Address
PC
Memory 2048 x 16
MUX
6 0 6 0 15 0
SBR
CAR
AC
Chapter # 7
Figure 7 5
Computer instructions.
15
14
11 10
Opcode
Address
Description Ac Ac + M [EA] if (AC < 0) then (PC EA) M [EA] AC AC M [EA], M [EA] AC
Chapter # 7
Figure 7 5
F1
F2
F3
CD
BR
AD
F1, F2, F3: Micro operation fields CD: Condition for branching BR: Branch field AD: Address field
Chapter # 7
Table 7-1
Continued Chapter # 7
Table 7-1
Symbol I S Z
Continued Chapter # 7
Table 7-1
BR
00 01 condition = 1 10 11 0
Symbol
JMP CALL RET MAP
CAR AD if condition = 1 CAR CAR + 1 if condition = 0 CAR AD, SBR CAR + 1 if CAR CAR + 1 if condition = 0 CAR SBR (Return from subroutine) CAR (2-5) DR (11-14), CAR (1, 1, 6)
Function
Chapter # 7
Fetch Routine
AR PC DR M [AR], PC PC + 1 AR DR (0-10), CAR (2-5) DR (11-14), 0 CAR (0, 1, 6)
FETCH:
U U U
NEXT NEXT
Chapter # 7
Table 7-2
Micro operations
ORG 0 NOP READ ADD ORG 4 NOP NOP NOP ARTPC ORG 8 NOP ACTDR WRITE ORG 12 NOP READ ACTDR, DRTAC WRITE
CD
BR
I U U S U I U I U U I U U U
CALL JMP JMP JMP JMP CALL JMP CALL JMP JMP CALL JMP JMP JMP
INDRCT NEXT FETCH OVER FETCH INDRCT FETCH INDRCT NEXT FETCH INDRCT NEXT NEXT FETCH
BRANCH: OVER:
STORE:
EXCHANGE:
Chapter # 7
Continued
Table 7-2
Chapter # 7
Table 7-3
00
100 101
Chapter # 7
0000000
Figure 7-7
3 x 8 decoder
7 6 5 4 3 2 1 0
3 x 8 decoder
7 6 5 4 3 2 1 0 AN D
3 x 8 decoder
7 6 5 4 3 2 1 0
DRTA C
AD D
PCTAR
DRTAR
From PC
From DR (0-10)
AC
AR
CLOCK
Chapter # 7
Figure 7-8
I0 I1 T
Input Logic
Test
3 0 S1 So
LOA D
MUX 1
SBR
I I S Z
MUX 2
Select
CAR
Incremente r
Control Memory
Microop s CD BR AD
Chapter # 7
Table 7-4
0 0 1 1 0
0 MUX 1 S1 1 0 1 x
0 0 SBR Load
O
0 0 0 1 1 x
0 1 0 0 0 1 1 0 1 1
Chapter # 7