1.1 The characteristics of contemporary processors, input, output and storage devices Flashcards
What does the ALU do?
The arithmetic and logic unit performs all arithmetic and logic calculations.
What does the CU do?
The control unit coordinates the activities of the CPU.
What are the names of the five registers?
Program counter (PC), Accumulator (ACC), Memory Address Register (MAR), Memory Data Register (MDR) and Current Instruction Register (CIR).
What does the Program Counter do?
Holds the address of the next instruction to be executed.
What does the Accumulator do?
a register that stores logical and arithmetic data in multistep calculations temporally.
What does the MAR do?
The Memory Address Register holds the address of the instruction being fetched from/ sent to memory.
What does the MDR do?
The Memory Data register temporarily stores the data being fetched from/ sent to main memory.
What does the CIR do?
The Current Instruction Register holds the instruction currently being executed (divided into operand and opcode)
What does the Operand ( in the CIR) contain?
Codes the address of the. data which the operation is to be performed.
What does the Opcode ( in the CIR) contain?
The type of instruction to be executed.
What are the three system buses?
Address, Data and Control bus
What is a Bus?
a set of parallel wires which connect two or more components in the CPU.
How is a Buses’ width related to the number of bits transferred?
width of bus is directly proportional to the number of bits transferred
What is the Address bus?
a unidirectional bus, that passes the address of the instructions from CPU to the Ram.
What is the data bus?
a Bi-directional bus that carries data to and from the address held on the address bus.
What is the Control bus
a unidirectional bus that carries control signals from processor to other components (carries clock pulses)
What is the fetch-decode-execute cycle?
A sequence of operations that are completed in order to execute an operation.
What happens in the fetch stage of the fetch execute cycle?
- The address is copied from the PC to the MAR.
- The instruction held in that address is copied to MDR by the data bus.
- Contents of PC increased by 1
- value held in MDR is copied into CIR
What happens in the Decode stage of the fetch-execute cycle?
The contents of CIR are split into Operand and Opcode.
What happens in the Execute stage of the fetch-execute cycle?
The Decoded instruction is executed.
What are the three factors that affect the processor?
Clock speed, Number of cores and Cache size.
What is the System Clock?
it controls the clock speed with signals of 1s and 0s. the activities start on the clock pulse ( when 0 switches to 1)
What is the Clock speed?
The time it takes for one clock cycle to complete. the faster the clock speed the more clock cycles completed in a given space of time.(measured in hertz)
What is a Core?
a independent processor that is able to complete its own fetch-execute cycle.
Whats the benefit of having multiple cores?
more fetch-execute cycles can be completed at one time.