Instructions
Memory Cells |
---|
Program Counter | Time |
---|---|
0 | 0 |
LW Computer Simulator
Quiz (1 point)
Given that:
instruction #5 is
addi dst=1 src=2 imm=0
the PC at time 11 = 5
Prove that:
the PC at time 12 = 6
The following properties may be helpful:
- 11 + 1 = 12
- 5 + 1 = 6
if the following are true:
- instruction #x is
addi dst=s src=d imm=imm
- the PC at time t = x
then the PC at time (t + 1) = x + 1
- instruction #x is
if 11 + 1 = 12, then the PC at time (11 + 1) = the PC at time 12
if the following are true:
- a = b
- a = c
- b = d
then c = d
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.