Quiz (1 point)
Given that:
subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 23
the PC at time 23 = 23
value of cell 1 at time 23 = 126
Prove that:
value of cell 1 at time 24 = 125
The following properties may be helpful:
- 23 + 1 = 24
- 126 - 1 = 125
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 23 + 1 = 24, then value of cell 1 at time (23 + 1) = value of cell 1 at time 24
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.