Processors And The FDE Cycle Flashcards
What does the Arithmetic Logical Unit (ALU) do?
Performs all arithmetic and logical operations on data during the execution of an instruction
What does the Control Unit (CU) do?
Coordinates activities in the CPU memory and peripherals
What does the clock do?
Continuous sequence of clock pulses to step the control unit through its operations
What do registers do?
Chip memory for temporary storage of binary values
What does the Program Counter (PC) do?
Holds the address of the next instruction to be executed
What does the Current Instruction Register (CIR) do?
Stores the current instruction being run
What are general purpose registers
Can store binary numbers
What does the Memory Address Register (MAR) do?
Holds the address of a memory location from which data will be read or data will be written to
What does the memory buffer register (MBR) do?
Temporarily stores data read or written to memory
What does the status register (SR) do?
Contains many bits that are set (1) or cleared (0) depending on the result of an instruction
What are the steps in the Fetch part of the FDE cycle
1 - The processor gets the memory address of the current instruction from the PC
2 - Passes the address to the MAR and sends it along the address bus
3 - The contents of the PC is incremented to point to the next instruction to be executed
4 - The control unit instructs a memory read operation to allow the contents of the memory location to be transferred and passes the data back along the data bus to the MDR
5 - The contents of the MDR are copied to the CIR
What are the steps of the decode part of the FDE cycle
The data in the MDR is passed to the CU which then decodes the instruction and then signals to the other components the instruction is to be completed
What are the steps of the Execute part of the FDE cycle
1 - The instruction is executed, using the ALU
2 - The SR may also be updated at this stage
What is an interrupt (FDE)
A signal sent to the processor from a program or an external device, it immediately halts all other processes until it is completed
Give an example of an interrupt (FDE)
Power low
Fault in hardware
Alarm