mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
doc: document anonymous %push
The anonymous %push was never documented, document it now. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
b34fce7111
commit
59c2e54f25
@ -3129,14 +3129,16 @@ define labels that are local to a particular context on the stack.
|
||||
contexts}\I{removing contexts}Creating and Removing Contexts
|
||||
|
||||
The \c{%push} directive is used to create a new context and place it
|
||||
on the top of the context stack. \c{%push} requires one argument,
|
||||
on the top of the context stack. \c{%push} takes an optional argument,
|
||||
which is the name of the context. For example:
|
||||
|
||||
\c %push foobar
|
||||
|
||||
This pushes a new context called \c{foobar} on the stack. You can
|
||||
have several contexts on the stack with the same name: they can
|
||||
still be distinguished.
|
||||
This pushes a new context called \c{foobar} on the stack. You can have
|
||||
several contexts on the stack with the same name: they can still be
|
||||
distinguished. If no name is given, the context is unnamed (this is
|
||||
normally used when both the \c{%push} and the \c{%pop} are inside a
|
||||
single macro definition.)
|
||||
|
||||
The directive \c{%pop}, requiring no arguments, removes the top
|
||||
context from the context stack and destroys it, along with any
|
||||
|
Loading…
Reference in New Issue
Block a user