mirror of
https://github.com/netwide-assembler/nasm.git
synced 2026-01-30 03:14:37 +00:00
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>
This commit is contained in:
parent
f53c9778cd
commit
ddea5fc0cd
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user