Re: how to declare a global variable in assembly code with 56f8367

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: how to declare a global variable in assembly code with 56f8367

1,284 Views
Gaoya
Contributor I

Thanks, Cat.

another question, do you know how to declare a const array in C which is stored in program memeory and then use some routine to move data from program memory to data memory when program is running?

Labels (1)
Tags (1)
0 Kudos
1 Reply

341 Views
J2MEJediMaster
Specialist I

Look in the Help folder, located in your CodeWarrior installation folder. There are a number of app notes and tech notes there. One of the tech notes should explan how to copy code from ROM to RAM, in preparation for writing to Flash. This should guide you as to what to do.

 

---Tom

0 Kudos