Entry Code

The entry code reserves space for local variables (refer the following listing).

Listing: Entry Code
PSHA      ; Only if there are register parameters
PSHX      ; Only if there are register parameters

AIS #(-s) ; Reserved space for local variables and spills

In this case, s is the size (in bytes) of the local data of the function. There is no static link, and the dynamic link is not stored explicitly.