Professional Documents
Culture Documents
William Stallings
Computer Organization
and Architecture
10th Edition
© 2016 Pearson Education, Inc., Hoboken,
NJ. All rights reserved.
+ Chapter 20
Control Unit Operation
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+
Micro-Operations
The functional, or atomic, operations of a processor
Micro refers to the fact that each step is very simple and
accomplishes very little
The nature of this cycle varies greatly from one machine to another
Instruction decoding
The control unit examines the opcode and generates a sequence of
micro-operations based on the value of the opcode
10 (execute) 01 indirect
Execute
ICC = 00 instruction ICC = 10 No Indirect Yes
addressing?
Yes Interrupt No
for enabled ICC = 10 ICC = 01
interrupt?
ICC = 11 ICC = 00
Control signals
within CPU
Control bus
Flags
Control signals
Control from control bus
Unit
Clock
Control signals
to control bus
M C11
B
R
C10
C12 C3 C4
C8 C1 AC
PC IR
C7 C9
C6
C2 C13 Control
C0 ALU signals
M
A
R Control
Flags
unit
Clock
Control
signals
IR
PC
Address
lines MAR
AC
+
ALU
TRAP
Interrupt-Related Signals
Intel
Restart Interrupts (RST 7.5, 6.5, 5.5)
I nterrupt Request (I NTR) 8085
These five lines are used by an external device to interrupt the CPU. The CPU will not honor the
request if it is in the hold state or if the interrupt is disabled. An interrupt is honored only at the
completion of an instruction. The interrupts are in descending order of priority.
External
I nterrupt Acknowledge
Acknowledges an interrupt.
Signals
(page 2 of 2)
CPU Initialization
RESET I N
Causes the contents of the PC to be set to zero. The CPU resumes execution at location zero.
RESET OUT
Acknowledges that the CPU has been reset. The signal can be used to reset the rest of the system.
ALE
RD
WR
IO/M
Decoder
I0 I1 Ik
T1
T2
Timing Control
Clock
generator Unit Flags
Tn
C0 C 1 Cm