1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
option output-file,lib2.lib option output-format,lib option +address24 org $078800 import "lib1.lib", labels start_lib2: ld hl,data1 call $0100 end_lib2: data2: db "I'm data from lib2" var_lib2 equ $7fff