Instructions
Memory Cells |
---|
Program Counter | Time |
---|---|
0 | 0 |
LW Computer Simulator
Quiz (1 point)
Given that:
instruction #9 is
jump imm=(-6)
the PC at time 9 = 9
value of cell 2 at time 9 = 1
Prove that:
value of cell 2 at time 10 = 1
The following properties may be helpful:
- 9 + 1 = 10
if the following are true:
- instruction #i is
jump imm=jump_to
- the PC at time t = i
then value of cell x at time (t + 1) = value of cell x at time t
- instruction #i is
if 9 + 1 = 10, then value of cell 2 at time (9 + 1) = value of cell 2 at time 10
if the following are true:
- a = b
- a = c
then b = 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.