Академический Документы
Профессиональный Документы
Культура Документы
ECEg3202 Computer
Architecture and Organization
Basic Computer
Consider the basic computer with
Memory unit with 4096 16-bit words
Registers: AR, PC, DR, AC, IR, TR, OUTR, INPR,
SC
Flip-flops: I, S, E, R, IEN, FGI, FGO
3 x 8 op decoder and 4 x 16 timing decoder
16-bit common bus
Control logic gates
Adder and logic circuit connected to input of AC
CIL rB6 AC shl AC, AC(0)E, E AC(15), SC 0 Circulate left AC and E'
INC rB5 AC AC + 1, SC 0 Increment AC
SPA rB4 if(AC(15)=0) then (PC PC + 1), SC 0 Skip next instruction if AC positive
SNA rB3 if(AC(15)=1) then (PC PC + 1), SC 0 Skip next instruction if AC negative
SZA rB2 if(AC=0) then (PC PC + 1), SC 0 Skip next instruction if AC zero
SZE rB1 if(E=0) then (PC PC + 1), SC 0 Skip next instruction if E zero
ECEg431 - Computer Architecture and
HLT rB0 S 0, SC 0 Organization Halt Computer 28
Memory Reference Instruction
Basic Computer Instructions
Symbol Control Operation Description
AND D0T4 DR M[AR] AND memory word to AC
D0T5 AC AC DR, SC 0
D1T5 AC AC + DR, SC 0
INC
D6T5 DR DR + 1
CLR
INC
CLR
INC
D5T4 AR AR + 1
CLR
RT0 AR 0
D1T5 AC AC + DR
D2T5 AC DR
pB11 AC(0-7) INPR, FGI 0
rB9 AC AC
rB7 AC shr AC, AC(15)E, E AC(0)
rB6 AC shl AC, AC(0)E, E AC(15)
Increment AC
rB5 AC AC + 1
Clear AC
rB AC 0
11