|
From: | Knut.Schwichtenberg |
Subject: | [avr-gcc-list] Use of registers |
Date: | Thu, 07 Oct 2004 09:31:12 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 |
Hi,I'm thinking of coupling an assembler module and some C routines. Within the assembler sources an extensive use of registers as permanent store of data was made. The avr-libc documentation FAQ #13 describes the use of the registers. So it looks bad. Is there any option to prevent the compiler to use all registers and leave some unused or is it possible to define the "assembler used registers" as variables so they are not touched by the compiler?
Thanks Knut
[Prev in Thread] | Current Thread | [Next in Thread] |