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

Incorrect conversion of SW with offset #4

Open
Paecificjr opened this issue Sep 26, 2023 · 0 comments
Open

Incorrect conversion of SW with offset #4

Paecificjr opened this issue Sep 26, 2023 · 0 comments

Comments

@Paecificjr
Copy link

I found this bug recently:

sw x1, 4(x0) converted into 0x00102423, but should have been 0x00102223

I validated this with two online assemblers and by working through it by hand. I deduced that the immediate value is off by 1 place. Which looks to be true with my surface level testing of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant