about summary refs log tree commit diff stats
path: root/subx/031check_operands.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-12-28 21:26:42 -0800
committerKartik Agaram <vc@akkartik.com>2018-12-28 21:26:42 -0800
commit431627b242d7f5f2c6b6b13876a255526383f831 (patch)
tree129b8ec45102e0fa7b6352739f916f94959c887f /subx/031check_operands.cc
parentc2532c2d100ea9cadb63ae506ce2cead753c2130 (diff)
downloadmu-431627b242d7f5f2c6b6b13876a255526383f831.tar.gz
4886
Diffstat (limited to 'subx/031check_operands.cc')
-rw-r--r--subx/031check_operands.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/subx/031check_operands.cc b/subx/031check_operands.cc
index f7f931b1..1038bca9 100644
--- a/subx/031check_operands.cc
+++ b/subx/031check_operands.cc
@@ -229,15 +229,11 @@ void init_permitted_operands() {
   //  0     1     0      |0       0     1     1
   put(Permitted_operands, "c1", 0x23);  // combine
 
-  //// Class P: op, ModR/M and imm32
-  //  imm32 imm8  disp32 |disp16  disp8 subop modrm
-  //  1     0     0      |0       0     0     1
-  put(Permitted_operands, "c7", 0x41);  // copy
-
-  //// Class Q: op, ModR/M, subop (not r32) and imm32
+  //// Class P: op, ModR/M, subop (not r32) and imm32
   //  imm32 imm8  disp32 |disp16  disp8 subop modrm
   //  1     0     0      |0       0     1     1
   put(Permitted_operands, "81", 0x43);  // combine
+  put(Permitted_operands, "c7", 0x43);  // copy
 
   // End Init Permitted Operands
 }