We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, The following code does not work: static code BYTE InitArray[] _at_ 0x1234 = { 0x01, 0x02, 0x03, 0x04 }; Is there a way to put an initialized array at an absolute position in memory? Second similar question: I need to word-align several constants in memory (a DMA transfer need word-aligned addresses). The code of the previous question could help but I would like a more elegant solution... Thanks
Thanks a lot,<br> <br> Yes, my constants are continuous. I managed to write them in ASM, adding some dummy bytes somewhere to align them, but as I frequently modify them for my developments I would prefeer to use C.<br>