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


Manual Reference Pages  - stack_flush (5)

NAME

stack/flush - Flush program stack

CONTENTS

Synopsis
Description
See Also
Author

SYNOPSIS

stack/flush

DESCRIPTION

Deletes all items on the program stack up to the last lock. If no locks have been pushed onto the stack, and no internal locks have been created by code branching or calling functions, then the entire program stack is emptied.

When registers are flushed from the stack they are cleared in the same way as if the reg/clr instruction had been used on them. It is therefore safe to assume that any register pushed onto the stack, no matter what type, will have its memory structures released properly if it is flushed.

SEE ALSO

pal_commands(5), pal_registers(5), pal_stack(5), stack_lock(5), stack_unlock(5), reg_clr(5),
PROSE Assembly Language at prose.sourceforge.net.

AUTHOR

Copyright (c) 2002-2009 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 stack_flush (5) 10 January 2009
Generated by manServer 1.07 from man5/stack_flush.5 using man macros.