SWAB flag fix (negative flag)

This commit is contained in:
folkert van heusden 2024-03-28 23:48:25 +01:00
parent 881494b9ae
commit d523d2dcc3
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

View file

@ -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);
}