Using a map

SGDK only sub forum

Moderator: Stef

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

Post by Chilly Willy »

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: 174
Joined: Mon May 03, 2010 6:12 pm
Location: France - Niort

Post by oofwill »

Thanks, i will study with attention :)
Post Reply