[A83] Re: Symbolic's functions in asm
[Prev][Next][Index][Thread]
[A83] Re: Symbolic's functions in asm
you can push a return address onto the stack if you want but you must do
this before you push the number of arguements on the fp stack + 1. stack
map should look like this upon entering the sec routine:
top:
0002 ;1 arguement
8885 ;example return address
...... ;what ever was on the stack previously
bottom:
----- Original Message -----
From: "Patai Gergely" <patai.ti@freemail.hu>
To: <assembly-83@lists.ticalc.org>
Sent: Sunday, April 14, 2002 12:10 PM
Subject: [A83] Re: Symbolic's functions in asm
>
> > It's not a B_CALL. The table consists of DWs pointing to
> the routine. So you
> > need to point HL to the routine you want, then do a
> ldHLInd, then jp (hl).
> >
> Shouldn't he first push a return address onto the stack?
>
> PG
>
>
>
>
References: