LEC 3
LEC 3
Instruction Instruction
codes interpreter
Control
signals
General-purpose
Data arithmetic Results
and logic
functions
Major components:
• CPU
• Instruction interpreter
• Module of general-purpose arithmetic and logic
functions
• I/O Components
+ • Input module
• Contains basic components for accepting data and
instructions and converting them into an internal
form of signals usable by the system
• Output module
• Means of reporting results
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
• Specifies the address • Contains the data to
in memory for the be written into
next read or write memory or receives
the data read from
memory
I/O AR
Data
E xecution
Data
unit I/O BR Data
Data
PC = Program counter
Buffers IR = Instruction register
MAR = Memory address register
MBR = Memory buffer register
I/O AR = Input/output address register
I/O BR = Input/output buffer register
0 1 15
S Magnitude
Data N– 1
E xternal
Address M Ports Data
Internal
Data Interrupt
Signals
E xternal
Data
Instructions Address
Control
Data CPU Signals
Interrupt Data
Signals
System bus
•A bus that connects major computer The most common computer
components (processor, memory, I/O)
interconnection structures are
based on the use of one or
more system buses
Control lines
Data lines
n Recall
that we have two types of storage in
computer :
n registersand memory
n A single operand can come from either a register
or a memory location
n Addressing modes offer various ways of specifying
the specific location
+ Addressing Modes Visualization (1)
+ Addressing Modes Visualization (2)