Professional Documents
Culture Documents
Module 5. Basic Processing Unit: (Upto 7.5 Except 7.5.1 To 7.5.6 of Chap 7 of Text)
Module 5. Basic Processing Unit: (Upto 7.5 Except 7.5.1 To 7.5.6 of Chap 7 of Text)
Module 5. Basic Processing Unit: (Upto 7.5 Except 7.5.1 To 7.5.6 of Chap 7 of Text)
Basic
Processing Unit
(upto 7.5 except 7.5.1 to 7.5.6 of Chap
7 of Text)
Padma Prasada
Sr. Assistant Prof. E&C Dept.
MITE
Outline
Some Fundamental Concepts
Execution of a Complete Instruction
Multiple Bus Organization
Hardwired Control
Microprogrammed Control
Ri
R iout
Y in
Constant 4
Select MUX
A B
ALU
Z in
Z out
12/2/2019 3:41 PM
Figure 7.2. Input andMITE
output gating for the registers in Figure 7.1. 10
Performing an Arithmetic or
Logic Operation
The ALU is a combinational circuit that has no
internal storage.
ALU gets the two operands from MUX and bus.
The result is temporarily stored in register Z.
What is the sequence of operations to add the
contents of register R1 to those of R2 and store the
result in R3?
1. R1out, Yin
2. R2out, SelectY, Add, Zin
3. Zout, R3in
T4 T6
T1
Figure 7.12. Generation of the Z in control signal for the processor in Figure 7.1.
12/2/2019 3:41 PM MITE 27
Generating End T7
Add
T5
N
Branch<0
T4
Branch
T5
End
WMFC
MAR in
Select
Read
PCout
R1out
R3out
Micro -
End
PCin
R1in
Add
Z out
IRin
Yin
Zin
instruction
1 0 1 1 1 0 0 0 1 1 1 0 0 0 0 0 0
2 1 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0
3 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0
language programs.
Figure 7.15 An example of microinstructions for Figure 7.6.
Clock mP C
Control
store CW