Jump Register Instruction - mbits-mirafra/computerArchitectureCourse GitHub Wiki

jr Instruction in MIPS

The Jump Register instruction causes the PC to jump to the contents of the first source register.

It's syntax is: jr $first source register's address

example: jr $13.

jr

jr Instruction in RISC-V

The "jr" instruction is used to perform an unconditional jump to an address specified in a register.

syntax: jr return address(ra)

"jr" is typically used for implementing function returns when the return address is stored in a register.