aboutsummaryrefslogtreecommitdiffstats
path: root/doc/nasmdoc.src
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2018-02-07 11:19:26 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2018-02-07 11:19:26 -0800
commitddea5fc0cdbef204a7713ad2fd856484df71308d (patch)
tree40323983b177364c3c47f2f4df0b055894d0b692 /doc/nasmdoc.src
parentf53c9778cdb45c4ad5f2d5eb3b4b2a5df7d12df2 (diff)
downloadnasm-ddea5fc0cdbef204a7713ad2fd856484df71308d.tar.gz
nasm-ddea5fc0cdbef204a7713ad2fd856484df71308d.tar.xz
nasm-ddea5fc0cdbef204a7713ad2fd856484df71308d.zip
doc: clarify need for ABS QWORD to do a 64-bit absolute load
The rarely used 64-bit absolute load instruction (what gas calls movabsq) needs to be declared ABS if we are in relative mode, which is normally the case. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'doc/nasmdoc.src')
-rw-r--r--doc/nasmdoc.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src
index 35e48001..2f6c533f 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -7778,7 +7778,7 @@ The only instructions which take a full \I{64-bit displacement}64-bit
\c{EAX} or \c{RAX} (but no other registers) to an absolute 64-bit address.
Since this is a relatively rarely used instruction (64-bit code generally uses
relative addressing), the programmer has to explicitly declare the
-displacement size as \c{QWORD}:
+displacement size as \c{ABS QWORD}:
\c default abs
\c