http://sourceware.org/binutils/docs-2.22/as/index.html
... and putting an array into rom in assembly is VERY easy - just change the section:
Code: Select all
.text
/* everything is now in rom, be it code or data */
.word 0,0,0,0
.word 0,0,0,0
...
.data
/* everything is now in ram, be it code or data */