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 BLT instruction #15

Open
Aravind-pk opened this issue Nov 1, 2022 · 0 comments
Open

Incorrect conversion of BLT instruction #15

Aravind-pk opened this issue Nov 1, 2022 · 0 comments

Comments

@Aravind-pk
Copy link

While converting the following sample assembly code

addi x2, x0, 1

loop:
   sub x1, x1, x2
   sw  x1, 4(x0) 
   blt x0, x1, loop

I got

0x00100113
0x402080b3
0x00102223
0x7c104ae3

the expected result was

00100113
402080b3
00102223
fe104ce3

(notice the conversion in the 4th line)

Aravind

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