[Top][All Lists]

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

Re: [avr-gcc-list] RAMPZ usage?

From: Dave Hylands
Subject: Re: [avr-gcc-list] RAMPZ usage?
Date: Thu, 2 Feb 2006 15:12:35 -0800

Hi Dmitry,

> Now Avr-gcc and Avr-libc do not use the RAMPZ register (not
> counting the startup procedure). Therefore it is possible
> to initialize, for example, the RAMPZ in the main program
> and to use it without additional setting in interruption.
>    Whether there are any plans on use of the RAMPZ
> in Avr-gcc and/or Avr-libc in future?

If you use the ELPM instruction then you need RAMPZ. There are
functions in avr-libc which use ELPM (see avr/include/pgmspace.h>

Dave Hylands
Vancouver, BC, Canada

reply via email to

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