|
|
|
|
|
|
|
|
|
|
|
|
|
|
ä |
What
do we do? How do we branch back to another part of
|
|
|
our
code?
|
|
|
ä |
Can
hard code a finite state machine into our assembly
|
|
|
language
program
|
|
|
ä |
But
what if we want to branch back to where we came
|
|
|
from,
and we can come from many places?
|
|
|
|
ä |
Could
store a return address in a chosen register, branch to its
|
|
address
at the end of the call
|
|
|
|
ä |
This
would be a calling convention
|
|
|
|
ä |
More
general support is available from subroutine CALL and
|
|
RET
operations
|
|