Next: , Previous: , Up: Assembler Instructions   [Contents][Index]


5.3.5 joe Instruction

This instruction has the syntax

        joe     outcome, loc_label

and specifies control transfer to location label loc_label if the outcome of the last instruction invoked is equal to outcome. On initialization of an instruction class, the event handler function of the instruction meta-class sets the total number of outcomes of the instruction being defined.

If the assembler considers it should assemble a user instruction at a particular place but encounters a contiguous block of joe instructions at that place, then the assembler will first assemble the nop instruction. Normally, the nop instruction does not change the outcome of the last instruction invoked. After assembling the nop instruction, the assembler will treat the contiguous block as a place of analysis of that outcome.