JUMPR Instruction Property 2
When the jump-register (JUMPR) instruction executes, memory cell values stay the same. More formally:
if the following are true:
- instruction #i is
jumpr addr=addr - the PC at time t = i
then value of cell x at time (t + 1) = value of cell x at time t
Instructions
| Memory Cells |
|---|
| Program Counter | Time |
|---|---|
| 0 | 0 |
LW Computer Simulator
Initially, the PC is 0, so instruction #0 is executed. Instruction #0 is a JUMPR instruction. After execution is completed, note that the memory cell values remain unchanged.
if the following are true:
- instruction #0 is
jumpr addr=1 - the PC at time 0 = 0
then value of cell x at time (0 + 1) = value of cell x at time 0
Comments
Please log in to add comments