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

Re: [MiNT] what's wrong with this code?



> -----Original Message-----
> From: mint-bounce@lists.fishpool.fi
> [mailto:mint-bounce@lists.fishpool.fi]On Behalf Of mikro
> Sent: 11 August 2005 14:13
> To: Konrad M. Kokoszkiewicz
> Cc: Andreas Schwab; Mint list
> Subject: Re: [MiNT] what's wrong with this code?
> 

SNIP.

> - Super() to get SV (init part)
> - do other inits and then loop in main loop:
> - Super() to get from SV
> - now save a7
> - bsr.w movem_clear
> - do rest of code (movem loop)
> - rts			<<<<<<<	YOU DO AN RTS BEFORE
> - restore a7		<<<<<<<	THIS???
> - Super() to set SV

Dont you know that an RTS uses the Stack?

Jan.