Hello, using ATMega32 in assembly if I wanted to create a temporary variable I would pick a register
.def temporaryvariable = r20 ;register 20 will hold a temporary value
I was a able to debug and view the r20 register and see how the program changes the temporaryvariable value, but what happens when I program in C?
unsigned char temporaryvariable;
Where is this variable stored and can I view it while debugging. Does the compiler assign a register to hold it just like I did in assembly? Or is it somewhere in memory, if so, is there a way to find the address where it is stored?