Re: A89: matrix
[Prev][Next][Index][Thread]
Re: A89: matrix
Yes, a7 is the stackpointer. SP (or USP in PRM by motorola) is just a different
name for a7
//Olle
Miles Raymond wrote:
>
> Ah, so sp = a7?? In Zoltan's example, he said to move all the register data
> to (sp)... so I assume now that I've read your reply, that sp is really just
> a7?
>
> -Miles Raymond EML: m_rayman@bigfoot.com
> ICQ: 13217756 IRC: Killer2 AIM: KilIer2 (kilier2)
> http://www.bigfoot.com/~m_rayman/
>
> ----- Original Message -----
> From: Olle Hedman <oh@hem.passagen.se>
> To: <assembly-89@lists.ticalc.org>
> Sent: Thursday, July 08, 1999 1:30 PM
> Subject: Re: A89: matrix
>
> > you push all regs on stack first, since you destroy them, and it is nice
> to be
> > able to get them back :)
> > you could though save a7 (or all) to a fixed data-area in your program.
> >
> > the pushes of the regs is to be considered in this method too, so you only
> gain
> > when you exceed a certain number of bytes too move.. I havn't calculated
> how
> > many yet though, maybe it isn't much.
> >
> > file://Olle
> >
> > Miles Raymond wrote:
> > >
> > > On a side note: why not use the register a7?
References: