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