This proof shows that an ADD instruction that stores the sum in memory cell #2 does not affect memory cell #1. It uses ADD Instruction Property 2 and performs some basic algebra to compute the value of memory cell #1 at time 1.

Note that src1 and src2 are left as variables because these values do not affect memory cell #1. In other words, this property is true regardless of the value of src1 and src2.

For reference, here is the simulator. We cannot use variable values so src1 is set to 1 and src2 is 2:

Instructions
Memory Cells
Program Counter Time
0 0
LW Computer Simulator

Quiz (1 point)

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

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

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!