[1.1.1] | 2: The FDE Cycle Flashcards
Describe the Fetch process of the CU.
- PC copies address of next instruction into the MAR.
- CU loads address onto address bus.
- CU send a read signal along the control bus, causing the RAM to send the desired instruction down the data bus.
- Instruction from the data bus is placed on the MDR.
- MDR copies the instruction to the CIR
- PC is incremented to point to the next instruction.
Describe the decode process of the CU.
• The instruction is identified in the CIR and decoded. (Using the decoder’s instruction set.)
Describe the execute process of the CU.
• The instruction in the CIR is carried out. (It may use values from the ACC, ALU or from memory.)
What does the LDA command do? (Assembly)
Loads a value into the ACC from a specified memory location.
What does the STA command do? (Assembly)
Stores a value from the ACC into a memory location.
What does the ADD command do? (Assembly)
Add a value from memory to the total in the ACC.
What does the HLT command do? (Assembly)
Halts the program.
What does the DAT command do? (Assembly)
Labels a memory location with an identifier.