Index | PAL Intro | Commands | Registers | Indices | Stack | Macros | Classes | Attributes | Errors
stack/push - Pushes data onto program stack
Synopsis
Description
Error Handling
Examples
See Also
Author
stack/push read <, read ... >
Pushes data items identified by one or more read arguments, onto the program stack. Any registers supplied as arguments will be subsequently zeroed (i.e. will contain PSUNIT_TYPE_NULL). If this behaviour is undesired, use "reg/load PUSH, read" instead.
A runtime error occurs if an object referenced in one the arguments does not exist.
stack/push P0, P1 Pushes registers P0 and P1 onto the program stack. stack/push &[~data1] Pushes pointer to data segment called data1 onto the program stack.
pal_commands(5), pal_registers(5), pal_indices(5), pal_stack(5), stack_pull(5),
PROSE Assembly Language at prose.sourceforge.net.
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_push (5) | 24 January 2009 |