funes-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Nes.CPU.Instructions.Jump

Contents

Synopsis

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

Return

rts :: CPU r () Source #

Return from Subroutine

Pulls the PC from the stack https://www.nesdev.org/obelisk-6502-guide/reference.html#RTS