get test passing

This commit is contained in:
Sam M W 2023-10-29 14:07:09 +00:00
parent c6a143a34a
commit db64810767
1 changed files with 1 additions and 1 deletions

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) => {