[nasm:nasm-2.15.xx] doc: slight cleanup of MASM compatibility package information

nasm-bot for H. Peter Anvin (Intel) hpa at zytor.com
Tue Jun 30 17:03:14 PDT 2020


Commit-ID:  4ddeb70428842a21c2f7628714df22c94e5acf17
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=4ddeb70428842a21c2f7628714df22c94e5acf17
Author:     H. Peter Anvin (Intel) <hpa at zytor.com>
AuthorDate: Tue, 30 Jun 2020 13:37:29 -0700
Committer:  H. Peter Anvin (Intel) <hpa at zytor.com>
CommitDate: Tue, 30 Jun 2020 13:37:29 -0700

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 at zytor.com>


---
 doc/nasmdoc.src | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src
index b3874544..00b8c3ae 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -1308,7 +1308,7 @@ valid:
 
 \c        db 33
 \c        db (44)		; Integer expression
-\c ;      db (44,55)      	; Invalid - error
+\c      ; db (44,55)		; Invalid - error
 \c        db %(44,55)
 \c        db %('XX','YY')
 \c        db ('AA')		; Integer expression - outputs single byte
@@ -2238,7 +2238,7 @@ if the argument is never used. For example:
 A single pair of parentheses is a subcase of a single, unused argument:
 
 \c    %define myreg() eax
-\c    	mov edx,myreg()
+\c	mov edx,myreg()
 
 This is similar to the behavior of the C preprocessor.
 
@@ -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
 support ASSUME, symbol typing, or MASM-style structures.
 
-Currently, the MASM compatibility package emulates only the PTR keyword and
-recognize syntax displacement[index] for memory operations.
-
+Currently, the MASM compatibility package emulates only the PTR
+keyword and recognize syntax displacement[index] for memory
+operations.
 To enable the package, use the directive:
 
 \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}
 


More information about the Nasm-commits mailing list