Function instruction #i is jumpr addr=addr

the jump register (jumpr) instruction sets the program counter to the value in memory #addr

Format:

instruction #i is jumpr addr=addr

Input:

number i -
number addr -

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 jumpr addr=addr
    • the PC at time t = i

    then the PC at time (t + 1) = value of cell addr at time t

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

    (link)


Comments

Please log in to add comments