From: Jesus Calvino-F. <Je...@ec...> - 2006-03-26 22:38:39
|
Something along this lines may work: void MINOR_VERSION (void) _naked { _asm .area MY_VERSION (ABS) .org 0xaffe .db 0x01 _endasm; } At 10:29 AM 3/26/2006, you wrote: >I want to place some data at a fixed memory location (in ROM). > >I already tried >const uint8_t at 0xaffe MINOR_VERSION = 1; >but it doesn't seem to do what I want. > >Philipp |