Update nasmdoc.src to the current version from debs.
authorH. Peter Anvin <hpa@zytor.com>
Sat, 4 May 2002 05:52:42 +0000 (05:52 +0000)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 4 May 2002 05:52:42 +0000 (05:52 +0000)
doc/nasmdoc.src

index 7ef413a..cca3208 100644 (file)
@@ -778,7 +778,7 @@ NASM command-line processing will get confused by the two
 nonsensical words \c{-dNAME="my} and \c{name"}.
 
 To get round this, NASM provides a feature whereby, if you begin the
-\c{NASMOPT} environment variable with some character that isn't a minus
+\c{NASM} environment variable with some character that isn't a minus
 sign, then NASM will treat this character as the \i{separator
 character} for options. So setting the \c{NASMOPT} variable to the
 value \c{!-s!-ic:\\nasmlib} is equivalent to setting it to \c{-s
@@ -7206,7 +7206,7 @@ This is a larger and more unwieldy version of \c{CMPXCHG}: it
 compares the 64-bit (eight-byte) value stored at \c{[mem]} with the
 value in \c{EDX:EAX}. If they are equal, it sets the zero flag and
 stores \c{ECX:EBX} into the memory area. If they are unequal, it
-clears the zero flag and leaves the memory area untouched.
+clears the zero flag and stores the memory contents into \c{EDX:EAX}.
 
 \c{CMPXCHG8B} can be used with the \c{LOCK} prefix, to allow atomic
 execution. This is useful in multi-processor and multi-tasking