| |||||
Technical Support Support Resources
Product Information | AX51: LOCATING AN ECODE SEGMENT AT A FIXED ADDRESSInformation in this article applies to:
QUESTIONI'm creating a small assembly program for the Philipx MX and I'm trying to locate code in the extended code space at a specific address. How should I do that? ANSWERThe following example demonstrates one way to locate an ECODE segment at a specific address.
CSEG AT 0
LJMP RESET
MY_CODE_SEG SEGMENT CODE
RSEG MY_CODE_SEG
RESET:
EJMP ECODE_FUNC
MY_ECODE_SEG SEGMENT ECODE AT 0x820000
RSEG MY_ECODE_SEG
ECODE_FUNC:
INC R0
INC R1
JMP ECODE_FUNC
END
Last Reviewed: Wednesday, May 15, 2002 | ||||
| |||||