Quantcast
Channel: Microcontrollers, Programming and IoT
Viewing all articles
Browse latest Browse all 1271

RAM address allocation

$
0
0
Very basic question let us say i have two RAM variables x1, x2 and let us say the micro controller generates address A1 for x1 variable and A2 address for x2 variable when i compiled and linked for the first time. When i link the next time how does it generate the same address A1 for x1 and A2 address for x2? Will it apply any rules while generating addresses for variables? Please help.

Viewing all articles
Browse latest Browse all 1271

Trending Articles