avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] AVR223 for GCC


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] AVR223 for GCC
Date: Fri, 28 Feb 2003 13:07:38 +0100 (MET)

address@hidden wrote:

> How about the registers that are used? I am trying to use the 8th
> order filter in AVR223 and aren't the register use conventions
> somewhat different?

Hmm, yes, they probably are different, i forgot about this.  Check
http://savannah.nongnu.org/download/avr-libc/doc/avr-libc-user-manual/FAQ.html#faq_reg_usage
to see what gcc is using.  In particular, the first input parameter
and the function return value go through r24/r25, and perhaps it's
required to add a few push/pops to save those registers where gcc
doesn't expect them to be changed within a function call.

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]