1
0
mirror of https://github.com/mre/mos6502.git synced 2024-06-08 14:29:34 +00:00

get test passing

This commit is contained in:
Sam M W 2023-10-29 14:07:09 +00:00
parent c6a143a34a
commit db64810767

View File

@ -427,7 +427,7 @@ impl<M: Bus> CPU<M> {
}
(Instruction::PHP, OpInput::UseImplied) => {
// Push status
let val = self.registers.status.bits();
let val = self.registers.status.bits() | 0x30;
self.push_on_stack(val);
}
(Instruction::PLA, OpInput::UseImplied) => {