From ddea5fc0cdbef204a7713ad2fd856484df71308d Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 7 Feb 2018 11:19:26 -0800 Subject: 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 --- doc/nasmdoc.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.2.3