lee wrote:
There are all sorts of uses for address register indirect with a fixed displacement.
Subroutines and functions can be passed parameters on the stack and use a fixed displacement from the stack pointer to access them. This can allow you to write black box routines that you can use without having to remember internal register or memory use.
Libraries of subroutines and functions can be called by knowing the library address and the offset to the required routine entry point.
Fixed displacements can also be used with an index to access elements of an object within a table of objects.
Lee.
I see, I haven't gotten around to subroutines yet. Thank you.