Structure and Role of the Processor and its Components Flashcards
What do processors contain
ALU (Arithmetic Logic Unit)
Control Unit
PC
CIR
MAR
MBR
SR
What is the role of the ALU
To perform arithmetic and logic operations
What is the control unit responsible for
Controls the hardware, including I/O and CPU
Controlling the fetch execute cycle
What are registers
Small storage locations used to hold data temporarily
What are General Purpose Registers
Registers that can be manipulated to perform the role of any other registers
List the Special Purpose Registers
Program Counter (PC)
Current Instruction Register (CIR)
Memory Address Register (MAR)
Memory Buffer Register (MBR)
Status Register (SR)
What does a Program Counter do
Hold the memory address of the next instruction to be executed in the fetch-execute cycle
What does the Current Instruction Register do
Holds the instruction that is currently being decoded and executed by the processor
What does the Memory Address Register do
Stores the memory address of an instruction that is to be read from, or the address in memory to which data is to be transferred
What is the role of the Memory Buffer Register
Holds the content of a memory location that has been read from or data that is stored to
Place where all communications between the CPU and Memory take place
What is the role of the Status Register
Contains a number of bits, the values of which can change to indicate the occurrence of an interrupt
What is the clock
A device that generates a timing signal which changes at a regular frequency which regulates all of the actions that take place
When is the signal generated by the clock used
To synchronise communication between the components of the processor and the rest of the computer system
What happens during the fetch stage of the fetch execute cycle
Content of the PC is copied to the MAR
Content of the MAR is transferred to the main memory by the address bus
Instruction is sent from main memory to the MBR by the data bus
PC is incremented by one
Content of the MBR is copied to the CIR
What happens during the decode stage of the fetch execute cycle
Content of the CIR is decoded by the control unit
Decoded instruction is split into two parts - opcode and operands