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

je command jumps to relative location instead of absolute #13

Closed
Savioor opened this issue Feb 9, 2019 · 1 comment
Closed

je command jumps to relative location instead of absolute #13

Savioor opened this issue Feb 9, 2019 · 1 comment

Comments

@Savioor
Copy link

Savioor commented Feb 9, 2019

As it says in the official specifications:

C.JR (jump register) performs an unconditional control transfer to the address in register rs1. C.JR Rexpands to jalr x0, rs1, 0.

Despite this, using jr will behave like j, jumping by the value in the register from the current location.

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

2 participants