Index | PAL Intro | Commands | Registers | Indices | Stack | Macros | Classes | Attributes | Errors
local/rtn - Return from a local branch
local/rtn
Returns program execution to the command following the local/jsr, reg/jsreq or reg/jsrne that called this routine.
The stack will be flushed back to an internal lock marker (PSUNIT_TYPE_INTLOCKL) that was set when the branch was followed. This guarantees that the stack will be returned to the caller in the same state as prior to the branch.
If this routine was not called by a branch instruction, local/rtn will terminate thread execution.
pal_commands(5), pal_stack(5), local_jsr(5), reg_jsreq(5), reg_jsrne(5),
PROSE Assembly Language at prose.sourceforge.net.
Copyright (c) 2002-2018 Mark R. Bannister <cambridge@users.sourceforge.net>.
This is free software and can be downloaded from prose.sourceforge.net; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
PAL 1.0 | local_rtn (5) | 16 January 2018 |