Function Jump Instruction

The jump instruction sets the program counter to imm

Format:

a jump instruction with to: imm

Input:

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:
    • the instruction at computer c and index i = a jump instruction with to: jump_to
    • the PC at computer c and time t = i

    then the PC at computer c and time (t + 1) = jump_to

    (link)
  • if the following are true:
    • the instruction at computer c and index i = a jump instruction with to: jump_to
    • the PC at computer c and time t = i

    then byte at ID: c, cell #x at time (t + 1) = byte at ID: c, cell #x at time t

    (link)


Comments

Please log in to add comments