diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-08-24 18:12:20 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-08-24 18:12:20 -0700 |
commit | 51e403152a9257e5422f0340047d1846418d10e3 (patch) | |
tree | fec5cc489bc5b623941dec3b83321599be6ce980 | |
parent | 19f15a50f611bada1fc2445e4453283fa5acc47d (diff) | |
download | nasm-51e403152a9257e5422f0340047d1846418d10e3.tar.gz |
BR 2067820: add the MOVSXD instruction
The official mnemonic for 32-to-64-bit sign extension is MOVSXD for
some idiotic reason. Add support for it while continue to recognize
MOVSX for this as an alias.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | insns.dat | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -806,7 +806,8 @@ MOVSX reg32,rm8 \321\2\x0F\xBE\110 386 MOVSX reg32,rm16 \321\2\x0F\xBF\110 386 MOVSX reg64,rm8 \324\2\x0F\xBE\110 X64 MOVSX reg64,rm16 \324\2\x0F\xBF\110 X64 -MOVSX reg64,rm32 \324\1\x63\110 X64 +MOVSXD reg64,rm32 \324\1\x63\110 X64 +MOVSX reg64,rm32 \324\1\x63\110 X64,ND MOVZX reg16,mem \320\2\x0F\xB6\110 386,SB MOVZX reg16,reg8 \320\2\x0F\xB6\110 386 MOVZX reg32,rm8 \321\2\x0F\xB6\110 386 |