In this example, the JAL instruction does not change memory cell values.
Instructions
Memory Cells |
---|
Program Counter | Time |
---|---|
0 | 0 |
LW Computer Simulator
Quiz (1 point)
Given that:
instruction #i is a JAL instruction with jump to: 1
the PC at time 2 = i
not (x = 2)
Prove that:
value of cell x at time 3 = value of cell x at time 2
The following properties may be helpful:
- 2 + 1 = 3
if the following are true:
- instruction #i is a JAL instruction with jump to: jump_to
- the PC at time t = i
- not (x = 2)
then value of cell x at time (t + 1) = value of cell x at time t
if 2 + 1 = 3, then value of cell x at time (2 + 1) = value of cell x at time 3
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.