A89: Registers


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

A89: Registers



I have had a few questions that have been bugging me since I started learning assembly for the 89:
 
1.Why are a0, a7, and d0 used more than the other registers?
2.And why do we constantly have to "restore" a7, when all we are doing is putting more stuff in it?  Why don't we just use a different register (a1-a6, or d1-d7?) so we won't have to restore anything?  Or will we still have to?
3.How do I know how to restore a7?  I see so many different numbers being used to restore it.
 
Thanks to anyone who can answer these questions.
 
-Miles Raymond      EML: m_rayman@bigfoot.com
ICQ: 13217756       IRC: Killer2        AIM: MRayMan
http://www.bigfoot.com/~m_rayman/

Follow-Ups: