/*ADDM.CMD - LINKER COMMAND FILE */ -c /*using C convention */ -stack 0x100 /*256 words stack */ addm.obj /*object file */ addmfunc.obj /*object function file */ -O addm.out /*executable output file */ -l rts30.lib /*run-time library support*/ MEMORY { RAMS: org=0x809800, len=0x2 /*boot stack */ RAM0: org=0x809802, len=0x3FE /*internal block 0*/ RAM1: org=0x809C00, len=0x3C0 /*internal block 1*/ } SECTIONS { .text: {} > RAM0 /*code */ .cinit: {} > RAM0 /*initialization tables*/ .stack: {} > RAM1 /*system stack */ }