To do so, we need a means of remembering our place, so the function can return to it.
Some convention needs to be agreed upon as to where to store a return address.
It has the same format as jump. Instead of a fixed target address, given as a label, this instruction jumps to the location contained in a register. However, it does not allow for a function to call another function, so later on we will see how to save return addresses systematically, using a stack. A full length example based on Wednesday's class is on the file sums.asm It includes a function sum, and another, printsum, each called twice.