[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fw: [avr-gcc-list] Register and static variables
From: |
Alexander Miks |
Subject: |
Fw: [avr-gcc-list] Register and static variables |
Date: |
Sat, 23 Mar 2002 19:07:58 +0100 |
I think declaring a variable as static will globalize it over all source-files
in the project.
----- Original Message -----
From: "Paulo Abreu" <address@hidden>
To: <address@hidden>
Sent: Saturday, March 23, 2002 4:15 PM
Subject: [avr-gcc-list] Register and static variables
> What is the diff between declaring a 'normal' global variable and a
> static global variable?
>
> Is it possible to declare a global variable, but forcing it to be in
> registers instead SRAM?
>
> Thank you for your attention
>
> Paulo Abreu
>
> avr-gcc-list at http://avr1.org
>
avr-gcc-list at http://avr1.org