summaryrefslogtreecommitdiff
path: root/insns.pl
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-02-09 16:20:21 -0800
committerH. Peter Anvin <hpa@zytor.com>2012-02-09 16:20:21 -0800
commit9d93f4b39641b6f247549ba0d56376fe34cb053c (patch)
tree54c806b3876d2a8636ffcbcd30fd2aa2464fbc16 /insns.pl
parent04633d07b68b79207d4800a4db7ba89394c33d0e (diff)
downloadnasm-9d93f4b39641b6f247549ba0d56376fe34cb053c.tar.gz
nasm-9d93f4b39641b6f247549ba0d56376fe34cb053c.tar.bz2
nasm-9d93f4b39641b6f247549ba0d56376fe34cb053c.zip
insns: replace open-coded \322 opcode with odf (operand default)
Create a mnemonic for the open-coded opcode \322. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'insns.pl')
-rwxr-xr-xinsns.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/insns.pl b/insns.pl
index 2a4629a..f1078a3 100755
--- a/insns.pl
+++ b/insns.pl
@@ -720,6 +720,8 @@ sub byte_code_compile($$) {
push(@codes, 0320);
} elsif ($op eq 'o32') {
push(@codes, 0321);
+ } elsif ($op eq 'odf') { # Operand size is default
+ push(@codes, 0322);
} elsif ($op eq 'o64') { # 64-bit operand size requiring REX.W
push(@codes, 0324);
} elsif ($op eq 'o64nw') { # Implied 64-bit operand size (no REX.W)