Chap-05a Control Unit Operations
Chap-05a Control Unit Operations
CONTROL UNIT
Agenda
Control Unit operation:
• Introduction,
• Micro-operations,
• Control of the Processor,
• Hardwired implementation
Introduction
• Functions of a processor-
1. Operations (opcodes)
2. Addressing modes
3. Registers
4. I/O module interface
5. Memory module interface
6. Interrupts
MICRO-OPERATIONS
• In case of execution of program, consists of a sequence of instruction cycles, with one
machine instruction per cycle.
• Written sequence of instructions is different than execution time sequence of instructions.
• Each instruction cycle is made up of a number of smaller units. One subdivision that we
found convenient is fetch, indirect, execute, and interrupt, with only fetch and execute
cycles always occurring.
• Micro-operation- each of the smaller cycles involves a series of steps, each of which
involves the processor registers.
• The execution of a program consists of the sequential execution of instructions. Each
instruction is executed during an instruction cycle made up of shorter subcycles (e.g.,
fetch, indirect, execute, interrupt).The execution of each subcycle involves one or more
shorter operations, that is, micro-operations.
MICRO-OPERATIONS
MICRO-OPERATIONS
• The Fetch Cycle- occurs at the beginning of each instruction cycle and causes an
instruction to be fetched from memory.
1. Memory address register (MAR): Is connected to the address lines of the system bus.
It specifies the address in memory for a read or write operation.
2. Memory buffer register (MBR): Is connected to the data lines of the system bus. It
contains the value to be stored in memory or the last value read from memory.
3. Program counter (PC): Holds the address of the next instruction to be fetched.