SEGMENTS /* here all RAM/ROM areas of the device are listed. Used in PLACEMENT below. */
Z_RAM = READ_WRITE 0x0060 TO 0x00EF;
RAM = READ_WRITE 0x00F0 TO 0x015F;
ROM = READ_ONLY 0xDC00 TO 0xFBCF;
table1_rom = READ_ONLY 0xFBC0 TO 0xFBCE;
table2_rom = READ_ONLY 0xFB80 TO 0xFB8E;
table3_rom = READ_ONLY 0xFBF0 TO 0xFBFF;
END
PLACEMENT /* here all predefined and user segments are placed into the SEGMENTS defined above. */
DEFAULT_ROM INTO ROM;
DEFAULT_RAM INTO RAM;
LEDSEGMENT INTO table3_rom;
LIMIT INTO table2_rom;
KVALUE INTO table1_rom;
_DATA_ZEROPAGE, MY_ZEROPAGE INTO Z_RAM;
END