UNIT4 Updated
UNIT4 Updated
Computer instruction
1 operand NOT R4 R4 R4
Addressing
Mode
5-2 Computer Registers
Data Register(DR) : hold the operand(Data) read from memory
Adder E
& Logic
AC 4
CLR
LD INR
INPR
IR 5
LD
TR 6
LD INR CLR
OUTR
Clock
LD
16-bit common bus
Computer System Architecture, Mano, Copyright (C) 1993 Prentice-Hall, Inc.
Common Bus System
The connection of the registers and memory of
the basic computer to a common bus system :
TR(6)
When LD(Load Input) is enable, the particular register
12 bits
Operations involve AC and DR Registers
Accumulator(AC) : s2
s1 Bus
Microoperation : Wr i t e Read
LD INR CLR
PC 2
Data Register : ADD LD INR CLR
DR to AC, AND DR to DR
3
AC
LD INR CLR
Adder E
and AC 4
logic
LD INR CLR
IR 5
LD
TR
6
LD INR CLR
OUTR
Clock
LD
• T0 = 1
–1) Place the content of PC onto the bus by making the bus
selection inputs S2S1S0=010
–2) Transfer the content of the bus to AR by enabling the LD
input of AR
T0 : AR PC Continue
indefinitely
T1 : IR M [ AR], PC PC unless
1 HALT
instruction is
encountered
– T1 = 1
• 1) Enable the read input memory
• 2) Place the content of memory onto the bus by making S2S1S0= 111
• 3) Transfer the content of the bus to IR by enable the LD input of IR
• 4) Increment PC by enabling the INR input of PC
Instruction Cycle
At T3, microoperations which take place
depend on the type of instruction. The four
different paths are symbolized as follows,
D2T4: DR M[AR]
D2T5: AC DR, SC 0
Store AC
STA: Store AC.
D3T4: M[AR] AC, SC 0
5.7 IO and Interrupt
Input-Output Configuration :