summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assemble.c8
-rwxr-xr-xinsns.pl2
2 files changed, 5 insertions, 5 deletions
diff --git a/assemble.c b/assemble.c
index 39d722d..76cf439 100644
--- a/assemble.c
+++ b/assemble.c
@@ -93,10 +93,10 @@
* VEX/XOP prefixes are followed by the sequence:
* \tmm\wlp where mm is the M field; and wlp is:
* 00 0ww lpp
- * [w0] ww = 0 for W = 0
- * [w1] ww = 1 for W = 1
- * [wx] ww = 2 for W don't care (always assembled as 0)
- * [ww] ww = 3 for W used as REX.W
+ * [w0] ww = 0 for W = 0
+ * [w1 ] ww = 1 for W = 1
+ * [wig] ww = 2 for W don't care (always assembled as 0)
+ * [ww] ww = 3 for W used as REX.W
*
* t = 0 for VEX (C4/C5), t = 1 for XOP (8F).
*
diff --git a/insns.pl b/insns.pl
index 8875872..616c175 100755
--- a/insns.pl
+++ b/insns.pl
@@ -769,7 +769,7 @@ sub byte_code_compile($$) {
$w = 0;
} elsif ($oq eq 'w1') {
$w = 1;
- } elsif ($oq eq 'wx') {
+ } elsif ($oq eq 'wig') {
$w = 2;
} elsif ($oq eq 'ww') {
$w = 3;