Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 22030

Re: block addressing

$
0
0

Hi all:

 

If variables belong to the same algorithm (grow), variables will be continous. If variables belong to a separate algorithm (add algorithm, or what we call internally stacking), then there is no guarantee that variables will be continous.

 

From a uC perspective, maintaining continguos adressing is very complicated and at times impossible. Picture having 2 blocks and needing to insert one in the middle. The assembler will need to assign memory pools scattered across memories to make this possible in the first place. However we have thought of the complications that this will cause the users and have implemented the generation of microcontroller code (export file) to fix this need. The implemented method exports variables using names (think references) removing the need to keep track of absolute addresse in memory assigned by the assembler.

 

In short, call variables from their name in your uC code using the code SigmaStudio generates and you will not have to think about where in memory those variables are.

 

Hope this helps.

 

Miguel


Viewing all articles
Browse latest Browse all 22030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>