From 967136108526e4e71f372cce5f2a706fce2f2cff Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Mon, 22 Apr 2024 20:29:28 +0200 Subject: [PATCH] does not work --- cpu.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/cpu.cpp b/cpu.cpp index 1a1da2c..8ae9891 100644 --- a/cpu.cpp +++ b/cpu.cpp @@ -839,16 +839,7 @@ bool cpu::additional_double_operand_instructions(const uint16_t instr) R >>= 1; R |= sign_extend; } -/* - int shift_n = 64 - shift; - uint16_t new_value = (sign ? uint64_t(0xffffffff0000) : 0) | R; - new_value >>= shift_n - 1; - setPSW_c(new_value & 1); - new_value >>= 1; - - R = new_value; -*/ setPSW_v(SIGN(R, wm_word) != SIGN(oldR, wm_word)); }