A86: Re: Re: Exiting a Program


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

A86: Re: Re: Exiting a Program





Yes, but that's not recommended behavior :-)  Try this if your not using IX
in your program:

 ld ix,0
 add ix,sp            ;at the start of the program


 ld sp,ix
 ret                        ;at the end of the program


>
>I know I am, but I don't know about the sprite routines that I am using.
>Is there any nifty way to just clear the stack instead of having to track
>down what isn't popping?
>
>--James
>
>>
>>It sounds like your not popping for every time you push.
>>
>
>_____________________________________________________________________
>You don't need to buy Internet access to use free Internet e-mail.
>Get completely free e-mail from Juno at http://www.juno.com
>Or call Juno at (800) 654-JUNO [654-5866]
>