Structure and function of the processor - paper 1 Flashcards
What does the ALU do?
Completes all of the arithmetic and logical operations
What is the purpose of the control unit?
Directs the operations of the CPU such as:
Controlling and coordinating the activities of the CPU
Managing the flow of data between the CPU and other devices
What is a register?
Small memory cells that operate at very high speeds, also store data and all arithmetic, logical and shift operations
What are 5 different registers?
Program counter, accumulator, MAR, MDR, CIR
What does the program counter do?
Holds the address of the next instruction to be executed
What does the accumulator do?
Stores the results from calculations
What does the MAR do?
Holds the address of a location that is to be read or written to
What does the MDR do?
Temporarily stores data that has been read or data that needs to be written.
What does the current instruction register do?
Holds the current instruction being executed, divided up into operand and opcode.
What is a bus?
A set of parallel wires that connect two or more components inside the CPU
What are the three different busses in the CPU?
Data bus, control bus and address bus
What does the data bus do?
It is bi directional bus for transporting data and instructions.
What does the address bus do?
Used to transmit the memory address specifying where the data is to be sent or retrieves from.
The width is the number of addressable memory locations
What does the control bus do?
This is a bi-directional bus. It is used to transmit signals between internal and external components
What is assembly language?
Between machine code and a high level language
Uses shortened versions of words such as ADD for addition