[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] using register
From: |
Christian Vogel |
Subject: |
Re: [avr-gcc-list] using register |
Date: |
Sat, 7 Jun 2003 13:59:49 +0200 |
User-agent: |
Mutt/1.2.5.1i |
Hi Stefan,
On Fri, Jun 06, 2003 at 08:58:19PM +0200, Stefan Ulbrich wrote:
> how can i make a frequently used variable stying in a register?
as I also asked this on the list not too long ago it's my turn now :-)
Thanks again to Harald Kipp...
register uint8_t twi_ctr asm("r3");
See here for docs:
http://savannah.nongnu.org/download/avr-libc/doc/avr-libc-user-manual/
specifically at the end of Related Pages -> Inline Asm
Chris
--
Der Dativ ist dem Genitiv sein Tod. (A.D.)