MEMORY { RAM_ZP: start = $0000, size = $100, type = rw, file = "", fill = yes; RAM: start = $0100, size = $5eff, type = rw, file = "", fill = yes; VIA1: start = $6000, size = $600f, type = rw, file = "", fill = yes; VIA2: start = $7000, size = $700f, type = rw, file = "", fill = yes; ROM: start = $8000, size = $8000, type = ro, file = %O, fill = yes; } SEGMENTS { ZP: load = RAM_ZP, type = bss, start = $0; RAM: load = RAM, type = bss; CODE: load = ROM, type = ro; RODATA: load = ROM, type = ro; RESET_VECTOR: load = ROM, type = ro, start = $FFFA; }