according to FKTCA0.BIC, MFPI should not set c and set v to 0
This commit is contained in:
parent
2c98fa23f5
commit
b50b75f1a0
1 changed files with 1 additions and 2 deletions
3
cpu.cpp
3
cpu.cpp
|
@ -1323,10 +1323,9 @@ bool cpu::single_operand_instructions(const uint16_t instr)
|
|||
}
|
||||
|
||||
if (set_flags) {
|
||||
setPSW_c(true);
|
||||
setPSW_z(v == 0);
|
||||
setPSW_n(SIGN(v, false));
|
||||
// deze niet? setPSW_v(false);
|
||||
setPSW_v(false);
|
||||
}
|
||||
|
||||
// put on current stack
|
||||
|
|
Loading…
Add table
Reference in a new issue