Function Jump Instruction
The jump instruction sets the program counter to imm
Format:
instruction #i is jump imm=imm
Input:
number i -
number imm -
Output:
boolean - None
Details:
Instructions
Memory Cells |
---|
Program Counter | Time |
---|---|
0 | 0 |
LW Computer Simulator
Conditional properties that reference this function:
if the following are true:
- instruction #i is
jump imm=jump_to
- the PC at time t = i
then the PC at time (t + 1) = jump_to
(link)- instruction #i is
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
(link)- instruction #i is
Comments
Please log in to add comments