Instruction execution
LOAD (e.g. Load R5, X(R7))
- Fetch instruction, increment PC
- Decode instruction, read contents of R7
- Compute effective address
- Read memory source operand
- Load operand into destination R5
STORE (e.g. Store R6, X(R8))
- Fetch instruction, increment PC
- Decode instruction, read R6 and R8
- Compute effective address of X+[R8]
- Store contents of R6 into memory location X+[R8]
- No action
Arithmetic & Logic (e.g. Add R3, R4, R5)
- Fetch instruction, increment PC
- Decode instruction, read contents of R4, R5
- Compute sum [R4] + [R5]
- No action
- Load result into destination R3