FDE cycle Flashcards
1
Q
What needs to be done before the FDE cycle?
A
Instructions need to be translated into machine code, then loaded into the RAM before starting.
2
Q
What happens in step 1 of the fetch stage?
A
- PC keeps address of next instruction
- PC contents copied into MAR
- Address of next instruction is placed on address bus
3
Q
What happens in step 2 of the fetch stage?
A
- Control unit instructs memory read operation of the current address through the data bus to the MBR
- PC incremented by 1
4
Q
What happens in step 3 of the fetch stage?
A
- Contents of MBR is copied to CIR
5
Q
What happens in the decode stage?
A
- Control unit decodes instruction that is kept in CIR
6
Q
What happens in the execute stage?
A
- Instruction is executed
- Depending on the type of instruction, executing the instruction can involve the ALU and the general purpose registers, the accumulator or the main memory