Quantcast
Viewing all articles
Browse latest Browse all 46

Answer by Jeremy for Embedding constant at specific memory location

Assuming the bootloader and main app are both under your control, you could have the bootloader jump to the application entry point with a pointer to the version information (and any other information you wish) in a register, for the app to make use of as it sees fit. This eliminates any reliance on fixed memory locations.


Viewing all articles
Browse latest Browse all 46

Trending Articles



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