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
Both formats are valid and supported by RISC-V assemblers. The argument for preferring 1) is that you're then addressing memory addresses consistently as <offset>(reg) across jalr, lw, sw, and so on.
I wonder which one is the correct assembly format of the JALR instruction and which one should we use in our OTBN spec here.
I see the two formats:
JALR <rd>, <offset>(<rs>)
JALR <rd>, <rs>, <offset>
Currently we use # 2, but apparently this was changed here.
The text was updated successfully, but these errors were encountered: