I'm using AHCC for quite a while and I'm playing it safe for machine code routines, always backuping all registers in use.
Are there registers that are meant to be preserved by default? E.q. if d1 is passed, d1 should have the same content after the rts? Or is it allowed to be trashed?
I long for gaining a bit of optimizations