7.3 Structure and Role of the Processor and its Components Flashcards
What do processors contain ?
ALU, a control unit and
numerous registers.
What is the role of the ALU ?
Perform arithmetic and
logic operations.
What is the role of the Control Unit ?
controlling the various components of the processor and the Fetch-Execute Cycle .
What are Registers ?
small storage locations used to hold data temporarily
What are the characteristics of Registers ?
high read and write speeds.
What are the 5 Special Purpose Registers ?
PC, CIR, MAR , MBR , SR
What is the purpose of the Program Counter ?
Used to hold the memory address of the next
instruction to be executed in the fetch-execute cycle
What is the purpose of the Current Instruction Register ?
Holds the instruction that is currently being executed
by the processor.
What is the purpose of the Memory Address Register ?
Stores the memory address of a memory location that is to be read from or written to.
What is the purpose of the Memory Buffer Register ?
Holds the contents of a memory location that has been read from or data that is to be stored
What is the purpose 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 Role of the System Clock ?
Generates a timing signal
which changes at a regular frequency.
What is the purpose of the signal generated by the System Clock ?
used to synchronise communication between the components of the processor and the rest of the computer system.
What are the three stages of the Fetch - Execute Cycle ?
Fetch, decode and execute.
What happens in the Fetch stage ?
The next instruction to execute is retrieved from main memory.
What are the steps of the Fetch stage ?
- The content of the PC is copied to the MAR
- The content of the MAR is transferred to main memory by the address bus
- The instruction is sent from main memory to the MBR by the data bus
- The PC is incremented by one
- The content of the MBR is copied to the CIR
What happens in the Decode stage of the cycle ?
The fetched instruction is
decoded
What are the steps of the Decode stage ?
- The content of the CIR is decoded by the control unit
- The decoded instruction is split into two parts: opcode
and operands
What happens in the Execute stage of the cycle ?
The instruction is carried out
What are the steps of the Execute stage ?
- Any data required by the instruction that isn’t present in registers is fetched
- The instruction is carried out
- Results of any calculations are stored in general purpose registers or main memory
What happens between each execute and fetch stage of the cycle ?
Content of the status register is
checked for changes that could signify the occurrence of an interrupt.
What is the Processor’s Instruction Set ?
the unique group of instructions that it can carry out
What are the Instructions of the Processor’s Instruction Set stored in ?
Machine Code
What are the two primary parts of the Instructions in the Processor’s Instruction Set ?
-Opcode
-Operands