Hi All:
I am having trouble getting the syntax correct to implement code banking using the LX51 Linker/Locater. I am trying to use the following example from page 296 of the LX51 Linker/Locater manual.
LX51 COMMON{C_ROOT.OBJ}, BANK0{C_BANK0.OBJ, MODUL1.OBJ}, BANK1{C_BANK1.OBJ}, BANK2{C_BANK2.OBJ} TO MYPROG.ABS & BANKAREA(8000h, 0FFFFH)
I am using the IDE to control LX51 (not the command line version of LX51), placing the COMMON and BANKx directives in the LX51 Misc/Misc Controls box. Some of the documentation incicates that BANKx control is only used in the BL51 linker and that the SEGMENT directive must be used for LX51. Does anyone have an example of this syntax for the SEGMENT control they could share, that implements the above example, or some advice regarding what I am doing wrong?
Thanks.