Introduction Mup
Introduction Mup
Introduction
sor
ces
Input Output
ro
rop
Mic
Memory
I/O
Input / Output
ALU Register
Array
System Bus
Control Memory
ROM RAM
• The control unit receives the bit pattern for this instruction
(0100011011) from memory.
• It decodes the bit pattern and determines that this is an Add operation
(0100).
• It also determines that the inputs to the addition come from Register R1
(01) and Register R2 (10).
• It finally determines that the results go into register R3 (11).
• It issues a control signal connecting one input of the adder (in the ALU)
to register R1 (in the Register Array) and the other input to register R2.
• Then after an appropriate amount of time, it issues a control signal to
register R3 to store the output of the adder.
Microprocessors & Interfacing Dr. Bassel Soudan 24
How do the units interact
EN EN EN EN
R1 R2 R3 R4
S0 S0
4 X 1 MUX 4 X 1 MUX
S1 S1
Adder
Memory Storage
Application
Operating
Application Programs
Hardware
System
Programs