about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--subx/022check_instruction.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/022check_instruction.cc b/subx/022check_instruction.cc
index 6fef09be..71765186 100644
--- a/subx/022check_instruction.cc
+++ b/subx/022check_instruction.cc
@@ -178,12 +178,12 @@ void init_permitted_operands() {
   //// Class C: just op and disp16
   //  imm32 imm8  disp32 |disp16  disp8 subop modrm
   //  0     0     0      |1       0     0     0
-  put(Permitted_operands, "e8", 0x08);  // jump
+  put(Permitted_operands, "e9", 0x08);  // jump
 
   //// Class D: just op and disp32
   //  imm32 imm8  disp32 |disp16  disp8 subop modrm
   //  0     0     1      |0       0     0     0
-  put(Permitted_operands, "e9", 0x10);  // call
+  put(Permitted_operands, "e8", 0x10);  // call
 
   //// Class E: just op and imm8
   //  imm32 imm8  disp32 |disp16  disp8 subop modrm