From 41c52b1388804cddd8ff1c1507316eaca0f99841 Mon Sep 17 00:00:00 2001 From: tuz358 Date: Sun, 18 Mar 2018 16:08:53 +0900 Subject: [PATCH] Minor update --- instructions.cpp | 35 +++++++++-------------------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/instructions.cpp b/instructions.cpp index ec23826..393763d 100644 --- a/instructions.cpp +++ b/instructions.cpp @@ -507,32 +507,15 @@ void Instructions::opcode_83(){ this->calc_modrm(); switch (this->R) { - case 0: - add_rm32_imm(IMM8); - break; - case 1: - or_rm32_imm(IMM8); - break; - case 2: - adc_rm32_imm(IMM8); - break; - case 3: - sbb_rm32_imm(IMM8); - break; - case 4: - and_rm32_imm(IMM8); - break; - case 5: - sub_rm32_imm(IMM8); - break; - case 6: - xor_rm32_imm(IMM8); - break; - case 7: - cmp_rm32_imm8(); - break; - default: - break; + case 0: add_rm32_imm(IMM8); break; + case 1: or_rm32_imm(IMM8); break; + case 2: adc_rm32_imm(IMM8); break; + case 3: sbb_rm32_imm(IMM8); break; + case 4: and_rm32_imm(IMM8); break; + case 5: sub_rm32_imm(IMM8); break; + case 6: xor_rm32_imm(IMM8); break; + case 7: cmp_rm32_imm8(); break; + default: break; } }