Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.
This repository was archived by the owner on May 15, 2024. It is now read-only.

65816: Emulation mode: New instructions should not page wrap #79

Open
@ReverendGumby

Description

@ReverendGumby

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions