4.7.3.1 Fo CompOrgArch (The processor and its components) Flashcards
(12 cards)
What is the difference between memory locations and memory addresses
Address - The unique identifier of where the data is stored
Location - The physical location of where it data is stored
What is the Program Counter and what does it do
- A special purpose register that stores the address of the next instruction to be executed by the CPU
-At the start of the FDE its contents are copied onto the MAR - Before the end of the fetch stage it is incremented
What is the MAR and what does it do
-Holds the address of the memory location from which data is to be written, and sends this address to memory via the address bus
What is the MDR and what does it do
Used to store data and instructions passed from the RAM to the CPU, and passes it to the appropriate unit ( ALU or CU), and stores data and instructions that is to be passed from the CPU to the RAM
What does the ALU do
Performs arithmetic and logic operations and bitwise shift, to execute instructions, and uses general purpose registers to temporarily hold the result of a calculation. It also updates the status register as appropriate following its operation
What is the Status register and what does it do
- it holds lots of different values that indicate the result of the last operation executed by the ALU, and so acts as a flag to the state of the CPU
What sort of things do the bits in the status register indicate
- Interrupts
- Results (Greater or Less than)
- Overflow and Underflows
- the presence of a carry bit
What are general purpose registers and what are they used for
Tiny areas of extremely fast memory located in the CPU, designed to store temporary data while instructions are being carried out
It makes the CPU faster as it doesn’t have to read/write from/to the RAM which is outside of the CPU
What is the Control unit
The component within the CPU responsible for directing the operations of the various other component, including determining when tasks should be performed and how they should be executed.
What are some notable functions of the Control unit
- Decodes the instruction on the FDE cycle
- Uses the clock to synchronise the components of the CPU
What is the Clock
An electronic unit that synchronises related components by generating pulses at a constant rate
True/False one instruction takes one clock cycle
- False