Skip to content

Opcode 0xF8 in Opcodes.json has an ambiguous "increment" flag #39

@VinceIP

Description

@VinceIP

In Opcodes.JSON:
"0xF8": { "mnemonic": "LD", "bytes": 2, "cycles": [ 12 ], "operands": [ { "name": "HL", "immediate": true }, { "name": "SP", "increment": true, "immediate": true },

You can see that the second operand SP has the "increment" flag set to true, implying SP should be incremented after the LD operation (as in LD [HL+], A/LD A, [HL+]). This is incorrect because this opcode should leave SP unchanged.

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