hewlett-packard HP 9835A — 036

36 The Processor and the Operating System Branch Group This group of instructions allows you to alter the execution sequence unconditionally. It in- cludes the "jumps" and "returns" from subroutines. Instruction Description Jr-"-iF' {location} [, I] Unconditionally branches to the specified location. TC:·i·.,.·i {I t' } [ T] .. .' .... ),' oca ton ,.l. Jumps to a subroutine. The value of the R register is in- cremented and the current value of the P register (i. e., the location of the JSM instruction itself) is stored into the ad- dress pOinted to by the R register. Execution then proceeds to the specified location. the address pOinted to by the R register.

The results are stored in the P register (i. e., specifying the next location for Returns from a subroutine. {value} is added to the contents of execution) and the R register is decremented. This is, in ef- fect, a retur~ from a JSM instruction to the instruction which is {value} instructions from the JSM itself. The "usual" return is RET 1. {value} must be an integer between -32 and 31.