- Asked 7/22
- 2076 Chaitra · 8 marks
- 2072 Chaitra · 7 marks
- 2072 Kartik · 5 marks
- 2071 Chaitra · 3+7 marks
- 2069 Chaitra · 10 marks
- 2068 Chaitra · 7 marks
- 2067 Asar (old course) · 3 marks
Address sequencing for control memory
Short answer
Address sequencing selects the next microinstruction address in control memory. The next address can come from CAR+1, a branch address field, mapping logic (opcode to start address), or the subroutine register for returns. The multiplexer selects based on condition and branch type.
What is address sequencing? Explain the selection of address for control memory with a block diagram.
Address sequencing
Address sequencing is the process of choosing the address of the next microinstruction in the control memory. The control memory holds the microprogram, in which microinstructions are stored in groups called routines (the fetch routine, one execute routine for each instruction, and so on). The control address register (CAR) holds the address of the microinstruction currently being read. Sequencing must handle normal sequential execution, branches, entry into a routine from the opcode, and subroutine call and return.
Selection of the next address
The next address is selected from one of four sources:
- Incrementing CAR (CAR + 1): the next microinstruction in sequence.
- Branch address field: an unconditional or a conditional branch loads the address (AD) field of the current microinstruction into CAR when the tested condition is true; otherwise CAR is incremented.
- Mapping: the opcode bits of the instruction are converted by a mapping logic (ROM or logic circuit) to the starting address of the microprogram routine. For a 4-bit opcode and a 7-bit address: 0 xxxx 00.
- Subroutine register (SBR): on CALL, the return address (CAR + 1) is saved in SBR and the branch address is loaded; on RETURN, SBR is loaded into CAR.
Instruction code (opcode)
|
+------v------+
| Mapping |
| logic |
+------+------+
| mapped address
v
Status bits +-----------------+
(I, S, Z) | |<---- Branch address (AD field)
| | Multiplexer |<---- Return address (SBR)
+---v----+select| (next address) |<---- CAR + 1 --------+
| Branch |----->| | |
| logic | +--------+--------+ |
+---^----+ v |
| +-------------+ +-------------+ |
| CD, BR | CAR |----->| Incrementer |---+--> SBR (on CALL)
| +------+------+ +-------------+
| v
| +-------------+
| | Control |
| | memory |
| +------+------+
| v
+------- microinstruction (microoperations, CD, BR, AD)
Control of selection
The CD (condition) field picks a status bit (I, S, Z or the constant 1), and the BR (branch) field gives the type of branch: JMP, CALL, RET or MAP. For JMP or CALL, if the selected condition is true the next address is AD; if it is false, it is CAR + 1. RET takes the address from SBR, and MAP takes the output of the mapping logic. At power-on, the initial address (for example 64, the start of the fetch routine) is loaded into CAR.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Address sequencing capabilities of control memory · Computer Organization and Architecture, chapter 3
- Memory-mapped I/O reduces address space · Computer Organization and Architecture, chapter 7
- Organization of control memory · Computer Organization and Architecture, chapter 3
- Control memory vs main memory · Computer Organization and Architecture, chapter 3
- Direct mapping with 32-block memory, 8-block cache · Computer Organization and Architecture, chapter 6 · asked 3×
- Direct mapping with 32-block memory, 10 blocks used · Computer Organization and Architecture, chapter 6 · asked 3×
- PID control operation with block diagram · Embedded System, chapter 7 · asked 4×
- Closed loop control system block diagram explained · Control Systems, chapter 1 · asked 4×
- Digital control system block diagram and advantages · Digital Control System, chapter 1 · asked 3×
- Functional block diagram of excitation control · Power Plant Equipment, chapter 3
All Computer Organization and Architecture chapter 3 questions →