Quiz (1 point)
Given that:
subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 12
the PC at time 6 = 12
value of cell 1 at time 6 = 127
Prove that:
value of cell 1 at time 7 = 126
The following properties may be helpful:
- 6 + 1 = 7
- 127 - 1 = 126
if the following are true:
- subtract immediate instruction with dst: dst src: src and immediate: imm at i
- the PC at time t = i
then value of cell dst at time (t + 1) = (value of cell src at time t) - imm
if 6 + 1 = 7, then value of cell 1 at time (6 + 1) = value of cell 1 at time 7
if the following are true:
- a = b
- a = c
then b = c
if a = b, then a - c = b - c
if the following are true:
- a = b
- b = c
then a = 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.