1.1.1: Structure and Function of Processor Flashcards
processor
“brain of the computer”, executes instructions. allowing programs to run
FDE Cycle
Fetch
- address from PC copied to MAR
- instruction held at address copied to MDR by data bus
- simultaneously, contents of PC increased by 1
- value of MDR copied to CIR
Decode
- contents of CIR split into operand and opcode
Execute
- decoded instruction is executed
Registers
small memory cells that operate at high speed. Temporary storage
Program Counter (PC)
holds address of next instruction to be executed
Accumulator (ACC)
stores result from calculations
Memory Address Register (MAR)
holds address of location that is to be read from/written to
Memory Data Register (MDR)
temporarily stores data that has been read/data that needs to be written
Current Instruction Register (CIR)
holds current instruction being executed. Divides up into operand and opcode
Arithmetic Logic Unit (ALU)
completes all arithmetical (mathematical) and logical (boolean- AND, OR, NOT, XOR) operations
Control Unit (CU)
- Directs operations of CPU
- controls and coordinates activities of CPU
- manages the flow of data (CPU to other devices)
- monitors FDE cycles
Buses
set of parallel wires connecting 2 or more components in the CPU
Data bus
A bi-directional bus for carrying data and instructions between the processor and memory.
Address bus
transmit memory addresses specifying where data is being sent/retrieved
Control Bus
This bus carries command and control signals to and from every other component of a computer.
Control bus signals….
- Bus request
- Bus grant
- Memory write
- Memory read
- Interrupt request
- Clock