Re: A92: Stack and return values


[Prev][Next][Index][Thread]

Re: A92: Stack and return values




Niklas Brunlid wrote:
>
>Easy - just pop the RTS value to a temporary register or variable, push
>your return values, and the push the RTS value again.
>


Thanks.  I was in my Architecture class today and I thought of this
solution.  I just have to remember to also "pop" the old RTS value or else
the stack will keep growing.

====
Aaron Hill (mozart@inlink.com)
IRC Nickname on EF-Net: SeracOhw
http://www.inlink.com/~mozart/i3/