Quiz (1 point)
Given that:
instruction #2 is
load dst=3 addr=1 imm=1
the PC at time 15 = 2
value of cell 1 at time 15 = 124
value of cell 125 at time 15 = 2
Prove that:
value of cell 3 at time 16 = 2
The following properties may be helpful:
- 124 + 1 = 125
- 15 + 1 = 16
if the following are true:
- instruction #i is
load dst=dst addr=addr imm=imm
- the PC at time t = i
then value of cell dst at time (t + 1) = value of cell ((value of cell addr at time t) + imm) 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 15) + 1 = 125, then value of cell ((value of cell 1 at time 15) + 1) at time 15 = value of cell 125 at time 15
if the following are true:
- a = b
- b = c
then a = c
if the following are true:
- a = b
- b = c
then a = c
if 15 + 1 = 16, then value of cell 3 at time (15 + 1) = value of cell 3 at time 16
if the following are true:
- a = b
- a = c
then b = 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.