diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2019-08-14 15:23:00 -0700 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2019-08-14 15:23:00 -0700 |
commit | 02b60ddd1c86ba6d932301f4ab205027beafc688 (patch) | |
tree | 7b08d541a383f931ef740c2be512e820c95f070a /x86/iflags.ph | |
parent | a6358096202e1b3bec58decabaad007f4957392c (diff) | |
download | nasm-02b60ddd1c86ba6d932301f4ab205027beafc688.tar.gz |
LEA: allow immediate syntax; ignore operand size entirely
The memory operand size of LEA doesn't matter in any way as it isn't
"real memory". Add an ANYSIZE option to ignore sizes entirely.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'x86/iflags.ph')
-rw-r--r-- | x86/iflags.ph | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/x86/iflags.ph b/x86/iflags.ph index 723855c0..8f0a80fd 100644 --- a/x86/iflags.ph +++ b/x86/iflags.ph @@ -16,6 +16,7 @@ if_("SY", "Unsized operands can't be non-yword"); if_("SZ", "Unsized operands can't be non-zword"); if_("SIZE", "Unsized operands must match the bitsize"); if_("SX", "Unsized operands not allowed"); +if_("ANYSIZE", "Ignore operand size even if explicit"); if_("AR0", "SB, SW, SD applies to argument 0"); if_("AR1", "SB, SW, SD applies to argument 1"); if_("AR2", "SB, SW, SD applies to argument 2"); |