Computer Architecture 4
Computer Architecture 4
Unit 4
Microprogrammed Control
Third Stage
External Control
input word
Next- Control
Control Control
address data
address memory
generator register
register (ROM)
(Sequencer)
Next-address information
Address Sequencing
Section - 2
Address Sequencing
Microinstructions are stored in control memory in groups, with each group specifying a routine.
The transformation from the instruction code bits to an address in control memory where the
routine is located is referred to as a mapping process.
The address sequencing capabilities required in a control memory are:
1. Incrementing of the control address register.
2. Unconditional branch or conditional branch, depending on status bit conditions.
3. A mapping process from the bits of the instruction to an address for control memory.
4. A facility for subroutine call and return.
Address Sequencing
Instruction code
Mapping
logic
Control memory
3 3 3 2 2 7
F1 F2 F3 CD BR AD
BR Symbol Function
00 JMP CAR AD if condition = 1, CAR CAR+1 if condition = 0
01 CALL CAR AD, SBR CAR+1 if condition=1, CAR CAR+1 if condition=0
10 RET CAR SBR (Return from subroutine)
11 MAP CAR(2-5) DR(11-14), CAR(0,1,6) 0
Thank you