1.1.1 Structure and Function of the Processor Flashcards
What is the Control Unit (CU)?
A component of the CPU which coordinates all its activites
what are the main functions of the CU?
- directs flow of data between CPU and other devices
- sends command control signals on the control bus (eg. requests to read and write to memory)
- coordinates and communicates with other CPU components
What is the Program Counter (PC)?
Register which holds the address of the next instruction to be processed. Increments by one each clock cycle.
What is the Memory Address Register (MAR)?
Register which holds the address of data or an instruction which is to be fetched or that is going to be written to.
what does the MAR use to send addresses?
address bus
what is the Memory Data Register (MDR)?
Register used to temporarily store data that is read from or written to memory.
what does the Current Instruction Register (CIR) do?
holds the current instruction being processed
what is an instruction made up of?
opcode + operand
what does the Arithmetic Logic Unit (ALU) do?
performs logical or arithmetic operations on data
What does the Accumulator (ACC) do?
one of the general purpose registers that stores the result of the ALU temporarily
What does the Address Bus carry?
memory addresses that identify where data is being read from or written to
what does the Control bus carry?
command and control signals to and from every component in the CPU/computer
what does the Data Bus carry?
the binary code (1s and 0s) that make up the information being transmitted around the computer/CPU
how is data processed in a computer?
the computer follows a set of instructions called a computer program
what happens during the fetch stage of the FDE cycle?
- PC checked as it holds address of next instruction
- address in PC is copied to MAR
- address then sent to memory on address bus. it then waits for a signal from control bus
- CU sends signal (eg. read or write) along control bus
- contents in memory sent along data bus to MDR
- as the data is an instruction, data is then copied from MDR to CIR
- Increment the PC for next instruction