Instruction fetch | |||||||||||||||
|
|||||||||||||||
Fig. 5.4 | |||||||||||||||
Instruction fetch: used by all instructions | |||||||||||||||
Memory | |||||||||||||||
Input: instruction address | |||||||||||||||
Output: instruction | |||||||||||||||
how to build: defer until later | |||||||||||||||
Program counter | |||||||||||||||
Register containing address of current instruction ("hidden") | |||||||||||||||
Adder: ALU with only one operation | |||||||||||||||
Combinational circuit | |||||||||||||||
Input: 2 operands | |||||||||||||||
Output: sum | |||||||||||||||