From d2cfaa5277509eb734c3976443c5e3b659919785 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Sat, 4 May 2002 05:52:42 +0000 Subject: [PATCH] Update nasmdoc.src to the current version from debs. --- doc/nasmdoc.src | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src index 7ef413a..cca3208 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 -- 2.7.4