funes-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Nes.CPU.Instructions.Addressing

Synopsis

Documentation

getOperandAddr :: AddressingMode -> CPU r Addr Source #

Gives the address of the current op code's parameter

Will shift PC accordingly and ticks once when page is crossed

Source: https://bugzmanov.github.io/nes_ebook/chapter_3_2.html

getOperandAddr' :: AddressingMode -> CPU r (Addr, Bool) Source #

Gives the address of the current op code's parameter

Will shift PC accordingly, but does not tick when page is crossed