rjumpc

Class: J

(legend)

Operand Stack Heap Condition Codes
  • Initial (operands):
    N/A
  • Final (return values):
    N/A
N/A
The condition code is read and the program counter is changed if the condition code is not 0.

Description

Performs a relative jump if the condition code is > 0. Decrements the condition code if a jump is performed. The last 5 bits of the instruction is treated as a 2's complement integer and is added to the agent's program counter. This allows an agent to jump forward or backward 15 instructions.

This page was last updated on December 7, 2005 4:01 AM.
This work is supported by the ONR MURI Project CONTESSA and the NSF under grant number CCR-9970939.