funes-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Nes.CPU.Instructions.Stack

Synopsis

Documentation

pha :: CPU r () Source #

Pushes a copy of the accumulator on to the stack.

https://www.nesdev.org/obelisk-6502-guide/reference.html#PHA

pla :: CPU r () Source #

Pulls an 8 bit value from the stack and into the accumulator.

https://www.nesdev.org/obelisk-6502-guide/reference.html#PLA

plp :: CPU r () Source #

Pulls an 8 bit value from the stack and into the accumulator.

https://www.nesdev.org/obelisk-6502-guide/reference.html#PLP