Professional Documents
Culture Documents
Instructions :-
jarl => rd = PC + 4 ; PC = rs1 + imm
addi => rd = rs1 + imm
Jump and link register (jalr) is used to address given in rs1 into register +
immediate_offset.
Addi instruction is used to update the value in register.
Absolute addressing
References –
https://www.gatevidyalay.com/addressing-modes/
Computer organization and design (The hardware/Software
Interface: RISC-V Edition) - pg 244
https://www.geeksforgeeks.org/addressing-modes/