forked from aniani/nasm
doc: slight cleanup of MASM compatibility package information
Note that the extended DB syntax is also available, regardless of if %use masm is used or not. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
@@ -4649,13 +4649,17 @@ functionality, as intended to be used primarily with machine-generated code.
|
|||||||
It does not include any "programmer-friendly" shortcuts, nor does it in any way
|
It does not include any "programmer-friendly" shortcuts, nor does it in any way
|
||||||
support ASSUME, symbol typing, or MASM-style structures.
|
support ASSUME, symbol typing, or MASM-style structures.
|
||||||
|
|
||||||
Currently, the MASM compatibility package emulates only the PTR keyword and
|
Currently, the MASM compatibility package emulates only the PTR
|
||||||
recognize syntax displacement[index] for memory operations.
|
keyword and recognize syntax displacement[index] for memory
|
||||||
|
operations.
|
||||||
To enable the package, use the directive:
|
To enable the package, use the directive:
|
||||||
|
|
||||||
\c{%use masm}
|
\c{%use masm}
|
||||||
|
|
||||||
|
In addition, NASM now natively supports the MASM \c{?} and
|
||||||
|
\c{DUP} syntax for the \c{DB} etc data declaration directives,
|
||||||
|
regardless of if this package is included or not. See \k{db}.
|
||||||
|
|
||||||
|
|
||||||
\C{directive} \i{Assembler Directives}
|
\C{directive} \i{Assembler Directives}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user