Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
aarant opened this issue Jun 5, 2021 · 0 comments
Closed

Comments

@aarant
Copy link

@aarant aarant commented Jun 5, 2021

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

@endrift endrift closed this in e17357a Jun 5, 2021
endrift added a commit that referenced this issue Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant