Hello all
I'm a fresher to Microcontroller programming. I have defined certain global variables that I need to store at consecutive memory locations, say starting from 0x8000h . Will appreciate if anyone can give me the syntax / instructions to go about the same.
thanks
techie
The location of variables allocated in C is normally determined by the compiler, not the programmer. If they are all of the same data-type you could create an array. Is there any particular reason they need to be in consecutive memory locations?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks