This proof shows an ADD instruction that adds the values in memory cell numbers 1 and 2 and stores the result in memory cell #3. It uses the ADD Instruction Property and performs some basic algebra to compute the value of memory cell #3. For reference, here is the simulator:

Instructions
Memory Cells
Program Counter Time
0 0
LW Computer Simulator

Quiz (1 point)

Given that:
instruction #0 is add dst=3 src1=1 src2=2
the PC at time 0 = 0
value of cell 1 at time 0 = 2
value of cell 2 at time 0 = 6

Prove that:
value of cell 3 at time 1 = 8

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!