OPERATION
1. add operation:
2. Sub Operation:
3. lw Operation:
4. sw Operation:
5. beq Operation:
Instruction Implementation:
First step:
- Instruction fetch (Send PC to memory + Send READ signal to memory)
- PC = PC+4
Second step:
- opcode decoding
- register prefetch(레지스터 값을 미리 가져온다.)
- 위 사진은 R-format의 예시이다. 다른건 볼것없고, read two register operands 즉 , prefetch 한다는것만 알아두자.