Jump register : Transfers execution to the address stored in $t1. Most commonly used as 'jr $ra' to return from a function call made with 'jal' or 'jalr'.
jr
Operands
$regVariants
- Jump register : Transfers execution to the address stored in $t1. Most commonly used as 'jr $ra' to return from a function call made with 'jal' or 'jalr'. jr $t1
# Return through an explicitly initialized register. Inspect $t2: it is 2 at the target.
la $t0, target
jr $t0
li $t2, 1
target: li $t2, 2