ProcessorTests icon indicating copy to clipboard operation
ProcessorTests copied to clipboard

65816: Emulation mode: New instructions should not page wrap

Open ReverendGumby opened this issue 2 months ago • 0 comments

According to 65C816 Opcodes by Bruce Clark, because these instructions / addressing modes are new (not present on 65*02), they should not page wrap:

  • 17.e.json: ORA [d],y
  • 57.e.json: EOR [d],y
  • 77.e.json: ADC [d],y
  • 97.e.json: STA [d],y
  • d4.e.json: PEI

Further, PLB should read from $0200 when S=$FF.

  • ab.e.json: PLB

A patch is attached. 0001-65816-Fix-emulation-mode-tests-that-should-not-page-.patch

ReverendGumby avatar Apr 20 '24 03:04 ReverendGumby