fix(?) for SWAB flags
This commit is contained in:
parent
fb7f15f208
commit
5002040e30
1 changed files with 2 additions and 2 deletions
4
cpu.cpp
4
cpu.cpp
|
@ -606,8 +606,8 @@ bool cpu::single_operand_instructions(const uint16_t instr)
|
|||
b -> writeByte(a + 1, t1);
|
||||
}
|
||||
|
||||
setPSW_n(t2 & 0x80);
|
||||
setPSW_z(t2 == 0);
|
||||
setPSW_n(t1 & 0x80);
|
||||
setPSW_z(t1 == 0);
|
||||
setPSW_v(false);
|
||||
setPSW_c(false);
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue