| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Nes.CPU.Instructions.Stack
Documentation
Pushes a copy of the accumulator on to the stack.
https://www.nesdev.org/obelisk-6502-guide/reference.html#PHA
Pushes a copy of the status flags on to the stack.
https://www.nesdev.org/obelisk-6502-guide/reference.html#PHP
Pulls an 8 bit value from the stack and into the accumulator.
https://www.nesdev.org/obelisk-6502-guide/reference.html#PLA
Pulls an 8 bit value from the stack and into the accumulator.
https://www.nesdev.org/obelisk-6502-guide/reference.html#PLP