You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
//test globalvalue
|
|
// CMD
|
|
// arm-none-eabi-gcc .\global.c -O0 -S -o .\global.S
|
|
|
|
int g1;
|
|
int g2 = 5;
|
|
int g3 = 6;
|
|
const int g4;
|
|
int ff = 3;
|
|
const int g5 = 55;
|
|
int g6;
|
|
|
|
int main(){
|
|
int a, b;
|
|
a = 10;
|
|
b = 2;
|
|
int c = g2;
|
|
return a + b + c;
|
|
}
|