From 86e225215a313941be8dc0ca8651b8a4d4c48ccf Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Tue, 22 Mar 2022 21:32:12 +0100 Subject: [PATCH] sign => SIGN for unsigned signedness check --- cpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu.cpp b/cpu.cpp index a478fbe..18303cf 100644 --- a/cpu.cpp +++ b/cpu.cpp @@ -901,7 +901,7 @@ bool cpu::single_operand_instructions(const uint16_t instr) if (word_mode) { // MFPS uint16_t temp = psw & 0xff; - if (dst_mode == 0 && sign(temp)) + if (dst_mode == 0 && SIGN(temp)) temp |= 0xff00; putGAM(dst_mode, dst_reg, word_mode, temp, false);