|ARM Technical Support Knowledge Articles|
Applies to: AX51 Macro Assembler
Information in this article applies to:
During manufacturing, we want to pre-initialize FLASH memory located in XDATA memory space. If this was CODE space I would use DB assembler statement to do this. How do I do this for XDATA memory?
With the AX51 Macro Assembler, you can use the DB assembler statement in the XDATA and HDATA memory space. For example:
?XD?MyInit SEGMENT XDATA RSEG ?XD?MyInit Values: DB 1,2,3,4 END
To generate a HEX image, make sure you invoke OHX51 with the correct address range. For example:
OHX51 MyProject RANGE (X:0 - X:0xFFFF) H386
Article last edited on: 2007-01-10 10:36:23
Did you find this article helpful? Yes No
How can we improve this article?