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


Manual Reference Pages  - stack_pull (5)

NAME

stack/pull - Pulls data off program stack

CONTENTS

Synopsis
Description
Error Handling
Examples
See Also
Author

SYNOPSIS

stack/pull write <, write ... >

DESCRIPTION

Pulls data items off the program stack, saving the pointers in each consecutive write argument provided.

ERROR HANDLING

A runtime error is generated if you attempt to pull a stack lock marker. You must use the PEEK special register if you wish to test for its presence.

If you attempt to pull data off an empty stack, a runtime error will also be generated.

EXAMPLES

stack/pull P1, P0
  Pulls two data items, storing in the registers P1 and P0 respectively.

SEE ALSO

pal_commands(5), pal_registers(5), pal_stack(5), stack_push(5),
PROSE Assembly Language at prose.sourceforge.net.

AUTHOR

Copyright (c) 2002-2008 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_pull (5) 8 September 2008
Generated by manServer 1.07 from man5/stack_pull.5 using man macros.