Copyright (C) 2000-2012 |
GNU Info (nasm.info)Section 4.7.44.7.4. `%repl': Renaming a Context ---------------------------------- If you need to change the name of the top context on the stack (in order, for example, to have it respond differently to `%ifctx'), you can execute a `%pop' followed by a `%push'; but this will have the side effect of destroying all context-local labels and macros associated with the context that was just popped. NASM provides the directive `%repl', which _replaces_ a context with a different name, without touching the associated macros and labels. So you could replace the destructive code %pop %push newname with the non-destructive version `%repl newname'. automatically generated by info2www version 1.2.2.9 |