sign => SIGN for unsigned signedness check
This commit is contained in:
parent
fa6ed0ca1f
commit
86e225215a
1 changed files with 1 additions and 1 deletions
2
cpu.cpp
2
cpu.cpp
|
@ -901,7 +901,7 @@ bool cpu::single_operand_instructions(const uint16_t instr)
|
||||||
if (word_mode) { // MFPS
|
if (word_mode) { // MFPS
|
||||||
uint16_t temp = psw & 0xff;
|
uint16_t temp = psw & 0xff;
|
||||||
|
|
||||||
if (dst_mode == 0 && sign(temp))
|
if (dst_mode == 0 && SIGN(temp))
|
||||||
temp |= 0xff00;
|
temp |= 0xff00;
|
||||||
|
|
||||||
putGAM(dst_mode, dst_reg, word_mode, temp, false);
|
putGAM(dst_mode, dst_reg, word_mode, temp, false);
|
||||||
|
|
Loading…
Add table
Reference in a new issue