[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] 'clobber list' in ASM (was Simulation / Hex File
From: |
E. Weddington |
Subject: |
Re: [avr-gcc-list] 'clobber list' in ASM (was Simulation / Hex File |
Date: |
Tue, 24 Jun 2003 15:29:45 GMT |
> Just another point...
>
> I was able to solve it by using R0 and R1 instead, as
> I didn't need a zero register in my code.
>
> But I'd still be interested in knowing about the
> clobber list thing.
Take a look at the avr-libc FAQ. There an answer there that
lists the "calling convention", which is how to right
assembly routines that can be called from C routines. It
tells you which registers get used for different things,
i.e. which registers you can clobber, which have to be
restored, etc. This should probably help.
Eric
- Re: [avr-gcc-list] 'clobber list' in ASM (was Simulation / Hex File,
E. Weddington <=