Confusion about RAM variables

Status
Not open for further replies.
I am slightly confused about the RAM variables. For every global variable there is an address allocated which can be seen in memory map. After power off the RAM content is gone, then how does the micro know the addresses of the variables after power on.
 
The address of the variables is in the program memory which is non volatile.

Mike.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…