From af6de7bc40c61f7bb2fbae5cafa7f55f8809e768 Mon Sep 17 00:00:00 2001 From: tuz358 Date: Fri, 9 Mar 2018 18:00:14 +0900 Subject: [PATCH] Add inc_r32(0x40~0x47) instruction in opcode_ff() function --- instructions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/instructions.cpp b/instructions.cpp index 12df674..7597df9 100644 --- a/instructions.cpp +++ b/instructions.cpp @@ -1175,8 +1175,8 @@ void Instructions::opcode_ff(){ switch (this->R) { case 0: - // TODO: add inc_r32() function - // this->execute_opcode(0x40+this->M) + this->execute_opcode(0x40+this->M); // inc r32 + this->eip++; break; case 1: this->execute_opcode(0x48+this->M); // dec r32