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

Note that src and imm 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 src and imm.

For reference, here is the simulator. We cannot use variable values so src is set to 1 and imm is 5:

Instructions
Memory Cells
Program Counter Time
0 0
LW Computer Simulator

Quiz (1 point)

Given that:
instruction #0 is addi dst=2 src=src imm=imm
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!