Quiz (1 point)
Given that:
instruction #10 is
store src=3 addr=1 imm=0
the PC at time 4 = 10
value of cell 1 at time 4 = 127
value of cell 3 at time 4 = 2
Prove that:
value of cell 127 at time 5 = 2
The following properties may be helpful:
- a + 0 = a
- 4 + 1 = 5
if the following are true:
- instruction #i is
store src=src addr=addr imm=imm
- the PC at time t = i
then value of cell ((value of cell addr at time t) + imm) at time (t + 1) = value of cell src at time t
- instruction #i is
if a = b, then a + c = b + c
if the following are true:
- a = b
- b = c
then a = c
if (value of cell 1 at time 4) + 0 = 127, then value of cell ((value of cell 1 at time 4) + 0) at time (4 + 1) = value of cell 127 at time (4 + 1)
if 4 + 1 = 5, then value of cell 127 at time (4 + 1) = value of cell 127 at time 5
if the following are true:
- a = b
- b = d
- a = c
then d = c
if the following are true:
- a = b
- b = c
then a = 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.