Using a map

SGDK only sub forum

Moderator: Stef

Chilly Willy
Very interested
Posts: 2984
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy » Tue Jan 29, 2013 7:18 pm

Very handy address for assembly folk:
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 */


oofwill
Very interested
Posts: 173
Joined: Mon May 03, 2010 6:12 pm
Location: France - Niort

Post by oofwill » Thu Jan 31, 2013 4:53 pm

Thanks, i will study with attention :)

Post Reply