mirror of https://github.com/mre/mos6502.git
get test passing
This commit is contained in:
parent
c6a143a34a
commit
db64810767
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue