diff --git a/cpu.cpp b/cpu.cpp index 574a42d..c1e5a74 100644 --- a/cpu.cpp +++ b/cpu.cpp @@ -1344,11 +1344,8 @@ bool cpu::single_operand_instructions(const uint16_t instr) // retrieve word from '15/14'-stack uint16_t v = popStack(); - bool set_flags = true; - mtpi_count++; - if (dst_mode == 0) setRegister(dst_reg, v, rm_prev); else { diff --git a/cpu.h b/cpu.h index 057880f..b547c82 100644 --- a/cpu.h +++ b/cpu.h @@ -53,7 +53,6 @@ private: uint64_t running_since { 0 }; uint64_t wait_time { 0 }; bool it_is_a_trap { false }; - uint64_t mtpi_count { 0 }; bool debug_mode { false }; std::vector > stacktrace;