Try out the example in the simulator:

Instructions
Memory Cells
Program Counter Time
0 0
LW Computer Simulator

The computer copies the value in memory cell #5 (9) to cell #4. The destination is calculated by adding the value in cell #1 (3) and the immediate (1).

Quiz (1 point)

Given that:
instruction #0 is store src=5 addr=1 imm=1
the PC at time 0 = 0
value of cell 1 at time 0 = 3
value of cell 5 at time 0 = 9

Prove that:
value of cell 4 at time 1 = 9

The following properties may be helpful:

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.

Step Claim Reason (optional) Error Message (if any)
1
2
3
4
5
6
7
8
9
10

Become a subscriber to save your progress, see the correct answer, and more!