Index | PAL Intro | Commands | Registers | Indices | Stack | Macros | Classes | Attributes | Errors


Manual Reference Pages  - local_rtn (5)

NAME

local/rtn - Return from a local branch

CONTENTS

Synopsis
Description
See Also
Author

SYNOPSIS

local/rtn

DESCRIPTION

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.

SEE ALSO

pal_commands(5), pal_stack(5), local_jsr(5), reg_jsreq(5), reg_jsrne(5),
PROSE Assembly Language at prose.sourceforge.net.

AUTHOR

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
Generated by manServer 1.07 from man5/local_rtn.5 using man macros.