path: root/doc/nasmdoc.src
diff options
authorH. Peter Anvin <hpa@zytor.com>2002-05-04 05:52:42 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-05-04 05:52:42 +0000
commitd2cfaa5277509eb734c3976443c5e3b659919785 (patch)
tree581c5e411856eb816e3b77dc61760f038669ec2c /doc/nasmdoc.src
parent27cf503e03f4765e0eaaffa6aaef6d75ff1de226 (diff)
Update nasmdoc.src to the current version from debs.
Diffstat (limited to 'doc/nasmdoc.src')
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src
index 7ef413ad..cca32080 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -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