BISB: Z-flag only for LSB
This commit is contained in:
parent
d15c43faad
commit
3139ee8a0d
1 changed files with 1 additions and 1 deletions
2
cpu.cpp
2
cpu.cpp
|
@ -557,7 +557,7 @@ bool cpu::double_operand_instructions(const uint16_t instr)
|
|||
|
||||
if (put_result(g_dst, result)) {
|
||||
setPSW_n(SIGN(result, word_mode));
|
||||
setPSW_z(result == 0);
|
||||
setPSW_z(IS_0(result, word_mode));
|
||||
setPSW_v(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue