From 90a53e1d683fdbfdd77baf5c39b5e939df5132ee Mon Sep 17 00:00:00 2001 From: tuz358 Date: Mon, 19 Mar 2018 00:47:27 +0900 Subject: [PATCH] Minor update --- instructions.cpp | 35 +++++++++-------------------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/instructions.cpp b/instructions.cpp index ca7bd67..dadba4b 100644 --- a/instructions.cpp +++ b/instructions.cpp @@ -471,32 +471,15 @@ void Instructions::opcode_81(){ this->calc_modrm(); switch (this->R) { - case 0: - add_rm32_imm(IMM32); - break; - case 1: - or_rm32_imm(IMM32); - break; - case 2: - adc_rm32_imm(IMM32); - break; - case 3: - sbb_rm32_imm(IMM32); - break; - case 4: - and_rm32_imm(IMM32); - break; - case 5: - sub_rm32_imm(IMM32); - break; - case 6: - xor_rm32_imm(IMM32); - break; - case 7: - cmp_rm32_imm(IMM32); - break; - default: - break; + case 0: add_rm32_imm(IMM32); break; + case 1: or_rm32_imm(IMM32); break; + case 2: adc_rm32_imm(IMM32); break; + case 3: sbb_rm32_imm(IMM32); break; + case 4: and_rm32_imm(IMM32); break; + case 5: sub_rm32_imm(IMM32); break; + case 6: xor_rm32_imm(IMM32); break; + case 7: cmp_rm32_imm(IMM32); break; + default: break; } }