summaryrefslogtreecommitdiff
path: root/x86
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2017-02-23 17:10:19 -0800
committerH. Peter Anvin <hpa@zytor.com>2017-02-23 17:10:19 -0800
commit1a3314f64b687279d436ad1a07b907a7243c8274 (patch)
tree3283722dec19ee8dd287dd6e45359a2a57738c9a /x86
parentc5cbb97db463f0bfc258b6ddad2a5fa0a23e8306 (diff)
downloadnasm-1a3314f64b687279d436ad1a07b907a7243c8274.tar.gz
insns.dat: use the officially documented UD0 and UD1 forms
The UD0 and UD1 opcodes are now officially documented, with UD1 officially documented to take a modr/m. Still permit the "UD2B" and argument-less aliases, but not as preferred. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'x86')
-rw-r--r--x86/insns.dat14
1 files changed, 10 insertions, 4 deletions
diff --git a/x86/insns.dat b/x86/insns.dat
index ac8bc2ba..f20fd04d 100644
--- a/x86/insns.dat
+++ b/x86/insns.dat
@@ -1,6 +1,6 @@
;; --------------------------------------------------------------------------
;;
-;; Copyright 1996-2016 The NASM Authors - All Rights Reserved
+;; Copyright 1996-2017 The NASM Authors - All Rights Reserved
;; See the file AUTHORS included with the NASM distribution for
;; the specific copyright holders.
;;
@@ -1375,9 +1375,15 @@ TEST rm64,imm [mi: o64 f7 /0 id,s] X64,SM
TEST mem,imm8 [mi: f6 /0 ib] 8086,SM
TEST mem,imm16 [mi: o16 f7 /0 iw] 8086,SM
TEST mem,imm32 [mi: o32 f7 /0 id] 386,SM
-UD0 void [ 0f ff] 186,UNDOC
-UD1 void [ 0f b9] 186,UNDOC
-UD2B void [ 0f b9] 186,UNDOC,ND
+UD0 void [ 0f ff] 186
+UD1 reg,rm16 [rm: o16 0f b9 /r] 186
+UD1 reg,rm32 [rm: o32 0f b9 /r] 186
+UD1 reg,rm64 [rm: o64 0f b9 /r] 186
+UD1 void [ 0f b9] 186,ND
+UD2B void [ 0f b9] 186,ND
+UD2B reg,rm16 [rm: o16 0f b9 /r] 186,ND
+UD2B reg,rm32 [rm: o32 0f b9 /r] 186,ND
+UD2B reg,rm64 [rm: o64 0f b9 /r] 186,ND
UD2 void [ 0f 0b] 186
UD2A void [ 0f 0b] 186,ND
UMOV mem,reg8 [mr: np 0f 10 /r] 386,UNDOC,SM,ND