Skip to content

[Debugger] Load/Store instructions don't indicate writeback flag #1915

@lunasorcery

Description

@lunasorcery

Observed at 4aed125.

The disassembler appears not to note the writeback flag when disassembling ldr/str instructions.

For example:

ldrh r8, [r7, r2]!  ; opcode e1b780b2
ldrh r8, [r7, r2]   ; opcode e19780b2

mGBA will display both instructions as ldrh r8, [r7, r2], missing the trailing !, but will correctly perform the writeback when executing.

This appears to affect all forms - all of ldr, ldrh, ldrb, str, strh, strb, with both register offsets and immediate offsets.

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