Skip to content

NMI handler destroys flags before saving context #75

@calc84maniac

Description

@calc84maniac

The LD HL, I instruction, as used here, is documented to affect flags, which causes an incorrect save of the F register in the NMI context. (The flags are actually affected differently than the documentation, but they are affected regardless, so the issue remains.)

ld hl, i

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions