Only JALR can return, and JAL doesn't have rs1
Larhzu opened this issue · comments
Lasse Collin commented
In cfi_intro.adoc:
A JAL or JALR may be used to perform either a procedure call or a return from a procedure.
Only JALR can be used for returning.
and a JAL/JALR where rs1 is the conventional link register
JAL doesn't have rs1.
Ved Shanbhogue commented
Updated in PR #120