You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
I've been playing around with the compiler and I am not sure, if I understand the specification of RISC-V wrong, but from my understanding the jumps should be relative to the current PC. When testing this program
this compiler outputs 00000000010000101001010001100011 for the BNE line, GNU as gives me 11111110010000101001111011100011. The imm part translates to 8 and -4 respectively. Am I correct that jumps are done absolutely? And if yes, can this be changed easily?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've been playing around with the compiler and I am not sure, if I understand the specification of RISC-V wrong, but from my understanding the jumps should be relative to the current PC. When testing this program
this compiler outputs
00000000010000101001010001100011
for the BNE line, GNU as gives me11111110010000101001111011100011
. Theimm
part translates to 8 and -4 respectively. Am I correct that jumps are done absolutely? And if yes, can this be changed easily?The text was updated successfully, but these errors were encountered: