Skip to content

Wrong debugger display when executing code in ARM mode at misaligned address #2204

@aarant

Description

@aarant

Pretty simple and what I'd imagine is a minor fix. Probably related to dd1d1a0.

Basically, when executing code at a mis-aligned address in ARM mode, the instruction is executed correctly, but the debugger shows it as if its low and high 16 bits were swapped, i.e


Code: @ pc at 0x03000002
    .4byte 0xE12FFF1E @ ARM bx lr

The debugger shows, incorrectly, as 0xFF1EE12F swi #2023727.

Image example: https://snipboard.io/cybkoR.jpg

Build: 0.10-1 (latest; I just built it a few minutes ago)
OS: Windows 10 Home

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