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)
  • 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)


Comments

Please log in to add comments