| |||||
Technical Support Support Resources
Product Information | AX51: INITIALIZING XDATA MEMORYInformation in this article applies to:
QUESTIONDuring 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? ANSWERWith 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 MORE INFORMATION
SEE ALSOLast Reviewed: Wednesday, January 10, 2007 | ||||
| |||||