SLR 01 Structure & Function Of The Processor Flashcards
What Is The ALU?
- Arithmetic Logic Unit
- Deals with basic arithmetic such as addition or subtraction
- Is capable of many complex mathematical functions such as sine, cosine and floating point division
What Is The CU?
- Control Unit
- Co-ordinates the various units inside the processor via the use of “control signals” which determine the flow of data into, and around the processor.
- Instructions are decoded in the control unit during the FDE cycle.
What Are Registers?
- A location where a single item of data can be stored.
- Specialized, high speed storage within the CPU itself.
- Before any data is processed, it must be represented in individual registers.
What Registers Are Located In The Processor? (5)
Program Counter (PC) Memory Address Register (MAR) Memory Data Register (MDR) Current Instruction Register (CIR) Accumulator (ACC)
What Does The Program Counter (PC) Do?
Stores the address of the next instruction
What Does The Memory Address Register (MAR) Do?
Contains the address of the memory location currently in use.
What Does The Memory Data Register (MDR) Do?
Contains the instructions/data to be executed.
What Does The Current Instruction Register (CIR) Do?
Holds the instruction whilst it is being decoded.
What Does The Accumulator (ACC) Do?
The accumulator stores the results of calculates processed by the ALU.
Why Are The CIR and MDR Different Registers If They Seem To Store The Same Value?
It may seem as though the CIR and MDR always hold the same value. However, consider an input instruction, if there was no CIR, the MDR would hold the input instruction. However when the data is input, the inputted value would overwrite the input instruction in the MDR, hence the need for the CIR and the MDR.
What Are Buses?
Buses are a collection of wires through which data is transmitted from one part of a computer to another.
What Are The Three Data Buses?
Data Bus
Address Bus
Control Bus
What Does The Data Bus Do?
- Transfers Data
- Typically From CPU Ram
- Half duplex, data can travel in either direction.
What Does The Address Bus Do?
- Transfers addresses of memory being saved to / loaded from memory
- Simplex pathway, the CPU only ever sends the memory address.
What Does The Control Bus Do?
- Sends and receives signals from all parts of the computer.
- Ensures that processes occur at the correct time.
- These signals travel along the control bus
- Made of several control lines including an interrupt request line, a memory read line and a memory write line, in addition to the clock for synchronizing operations.