diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-07-30 09:58:59 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-07-30 09:58:59 -0700 |
commit | edcb590bf23d77912e6d6d7bb36b8332d705d0b4 (patch) | |
tree | de6b84a6ee6b1668830bc018a831e072cc023ca1 /subx | |
parent | 13346ddce48b72e143df153b65d7fc3b0873616a (diff) | |
download | mu-edcb590bf23d77912e6d6d7bb36b8332d705d0b4.tar.gz |
4453
Got a couple of instructions mixed up.
Diffstat (limited to 'subx')
-rw-r--r-- | subx/022check_instruction.cc | 4 |
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 |