4.8.4 Code and Data placement

The compiler can pass segment location to the linker. On the MOS6502 the following switches are supported:

–code-loc: start address of the code segment

–data-loc: start address of the zero page

–xram-loc: start address of the data segment