How can I locate the starting address of a variable in STM32CubeIDE?
like the following code:
int ANDresult = i&j;
The value of ANDresult is 0x20022002. In our assignment our professor asked us to write down the address of the variable ANDresult, I tried to add ANDresult as an expression in the Memory monitor but the CubeIDE redirected to the address 0x20022002, which obviously is not the address of ANDresult.
Thanks!
Debugger: STLink V2
MCU:STM32F103VET6
