Step 2: Transfer Control
Getting from caller to callee is easy -- just jump to the address of the procedure
Need to leave a way to get back again
Special register: $ra (for return address)
Special instruction: jal
Previous slide
Next slide
Back to first slide
View graphic version