From 4ae88e1a83a4d70932c7906d40143f40d450ee46 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 20 May 2008 17:14:17 -0700 Subject: [PATCH] Accept the gas mnemonics "ud2a" and "ud2b"; fix ud0 Accept the gas mnemonics "ud2a" and "ud2b" for the instructions we call ud2 and ud1 respectively, and Intel call ud2 and undocumented :) Also, 0F FF is ud0 regardless of prefixes, at least as far as we know. --- insns.dat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/insns.dat b/insns.dat index 26c10983..eeab3af2 100644 --- a/insns.dat +++ b/insns.dat @@ -1264,9 +1264,11 @@ TEST rm64,imm \324\1\xF7\200\41 X64,SM TEST mem,imm8 \1\xF6\200\21 8086,SM TEST mem,imm16 \320\1\xF7\200\31 8086,SM TEST mem,imm32 \321\1\xF7\200\41 386,SM -UD0 void \360\2\x0F\xFF 286,UNDOC +UD0 void \2\x0F\xFF 286,UNDOC UD1 void \2\x0F\xB9 286,UNDOC +UD2B void \2\x0F\xB9 286,UNDOC,ND UD2 void \2\x0F\x0B 286 +UD2A void \2\x0F\x0B 286,ND UMOV mem,reg8 \360\2\x0F\x10\101 386,UNDOC,SM,ND UMOV reg8,reg8 \360\2\x0F\x10\101 386,UNDOC,ND UMOV mem,reg16 \360\320\2\x0F\x11\101 386,UNDOC,SM,ND