• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.
 

Pommie

Well-Known Member
Most Helpful Member
The address of the variables is in the program memory which is non volatile.

Mike.
 
Status
Not open for further replies.

Latest threads

EE World Online Articles

Loading
Top