Instructions
| Memory Cells |
|---|
| Program Counter | Time |
|---|---|
| 0 | 0 |
LW Computer Simulator
Quiz (1 point)
Given that:
instruction #3 is
addi dst=5 src=0 imm=4the PC at time 3 = 3
Prove that:
value of cell 5 at time 4 = 4
The following properties may be helpful:
- 3 + 1 = 4
if the following are true:
- instruction #i is
addi dst=dst src=0 imm=imm - the PC at time t = i
then value of cell dst at time (t + 1) = imm
- instruction #i is
if 3 + 1 = 4, then value of cell 5 at time (3 + 1) = value of cell 5 at time 4
if the following are true:
- a = b
- a = c
then b = c
Please write your proof in the table below. Each row should contain one claim. The last claim is the statement that you are trying to prove.