SWAB flag fix (negative flag)
This commit is contained in:
parent
881494b9ae
commit
d523d2dcc3
1 changed files with 1 additions and 1 deletions
2
cpu.cpp
2
cpu.cpp
|
@ -833,7 +833,7 @@ bool cpu::single_operand_instructions(const uint16_t instr)
|
|||
set_flags = putGAM(g_dst, v);
|
||||
|
||||
if (set_flags) {
|
||||
setPSW_flags_nzv(v, wm_byte);
|
||||
setPSW_flags_nzv(v, wm_word);
|
||||
setPSW_c(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue