Instructions
Memory Cells |
---|
Program Counter | Time |
---|---|
0 | 0 |
LW Computer Simulator
Quiz (1 point)
Given that:
instruction #8 is
beq left=4 right=5 imm=1
the PC at time 14 = 8
value of cell 5 at time 14 = 4
Prove that:
value of cell 5 at time 15 = 4
The following properties may be helpful:
- 14 + 1 = 15
if the following are true:
- instruction #i is
beq left=l right=r imm=imm
- 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 14 + 1 = 15, then value of cell 5 at time (14 + 1) = value of cell 5 at time 15
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.