Accept the gas mnemonics "ud2a" and "ud2b"; fix ud0
authorH. Peter Anvin <hpa@zytor.com>
Wed, 21 May 2008 00:14:17 +0000 (17:14 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 21 May 2008 00:14:17 +0000 (17:14 -0700)
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

index 26c1098..eeab3af 100644 (file)
--- 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