mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
doc: update documentation for pending 2.10 release
This commit is contained in:
parent
21e7050c1a
commit
099749292c
@ -9,6 +9,24 @@ since 2007.
|
||||
|
||||
\S{cl-2.10} Version 2.10
|
||||
|
||||
\b Support for delayed preprocessing \c{%final}
|
||||
See \k{final}.
|
||||
|
||||
\b Support for comment blocks \c{%comment}.
|
||||
See \k{comment}.
|
||||
|
||||
\b Support for arbitrarily terminating conditional loops \c{%exitwhile}.
|
||||
See \k{exitwhile}.
|
||||
|
||||
\b Support for conditional loops \c{%while}.
|
||||
See \k{while}.
|
||||
|
||||
\b Support for arbitrarily terminating macro expansions \c{%exitmacro}.
|
||||
See \k{exitmacro}.
|
||||
|
||||
\b Support for recursive macro expansion \c{%rmacro}/\c{%irmacro}.
|
||||
See \k{mlrmacro}.
|
||||
|
||||
\b When optimization is enabled, \c{mov r64,imm} now optimizes to the
|
||||
shortest form possible between:
|
||||
|
||||
@ -194,12 +212,6 @@ To force a specific form, use the \c{STRICT} keyword, see \k{strict}.
|
||||
|
||||
\b A number of enhancements/fixes in macros area.
|
||||
|
||||
\#\b Support for arbitrarily terminating macro expansions \c{%exitmacro}.
|
||||
\# See \k{exitmacro}.
|
||||
|
||||
\#\b Support for recursive macro expansion \c{%rmacro}/\c{%irmacro}.
|
||||
\# See \k{mlrmacro}.
|
||||
|
||||
\b Support for converting strings to tokens. See \k{deftok}.
|
||||
|
||||
\b Fuzzy operand size logic introduced.
|
||||
|
@ -3233,6 +3233,20 @@ code to be replicated as long as certain conditions are met:
|
||||
\c ; some code which only repeats while <condition> is met
|
||||
\c %endwhile
|
||||
|
||||
\S{exitwhile} Exiting Conditional Loops: \i\c{%exitwhile}
|
||||
|
||||
Conditional loops can be arbitrarily terminated with the
|
||||
\i\c{%exitwhile} directive.
|
||||
|
||||
For example:
|
||||
|
||||
\c %while<condition>
|
||||
\c %if<some other condition>
|
||||
\c %exitwhile
|
||||
\c %endif
|
||||
\c ; some code which only repeats while <condition> is met
|
||||
\c %endwhile
|
||||
|
||||
|
||||
\H{files} Source Files and Dependencies
|
||||
|
||||
@ -3814,6 +3828,17 @@ until all other "normal" preprocessing is complete. Multiple
|
||||
declaration, last one first and first one last.
|
||||
|
||||
|
||||
\H{comment} Comment Blocks: \i\c{%comment}
|
||||
|
||||
The \c{%comment} and \c{%endcomment} directives are used to specify
|
||||
a block of commented (i.e. unprocessed) code/text. Everything between
|
||||
\c{%comment} and \c{%endcomment} will be ignored by the preprocessor.
|
||||
|
||||
\c %comment
|
||||
\c ; some code, text or data to be ignored
|
||||
\c %endcomment
|
||||
|
||||
|
||||
\H{stdmac} \i{Standard Macros}
|
||||
|
||||
NASM defines a set of standard macros, which are already defined
|
||||
|
Loading…
Reference in New Issue
Block a user