[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:35:29 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
<editor>
"There's an answer there that lists the "calling
convention", which is how to write assembly routines that
can be called from C routines."