| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Nes.CPU.Instructions.Jump
Jump
jmp :: AddressingMode -> CPU r () Source #
Sets the program counter to the address specified by the operand
https://www.nesdev.org/obelisk-6502-guide/reference.html#JMP
Jump to Subroutine
https://www.nesdev.org/obelisk-6502-guide/reference.html#JSR
Return
Return from Subroutine
Pulls the PC from the stack https://www.nesdev.org/obelisk-6502-guide/reference.html#RTS
Return from interrupt
https://www.nesdev.org/obelisk-6502-guide/reference.html#RTI