home *** CD-ROM | disk | FTP | other *** search
- -! a_link.xcl -- from -LNK8051.XCL-
- XLINK command file to be used with the 8051 C-compiler V2.xx
- using the -m0 to -m3 options (expanded)
- Usage: xlink your_file(s) -f lnk8051
- -!
- -! First: define CPU -!
- -c8051
- -! Assign/allocate a value for SP (change if not reg-bank #0) -!
- -Z(IDATA)ISTACK=7
- -! Select register bank [0,8,10 or 18] -!
- -D_R=0
- -! Setup all read-only segments (PROM). Usually at zero -!
- -Z(CODE)CSTART,RCODE,CODE,CDATA,ZVECT,CONST,CSTR,CCSTR=0
- -! Setup all writable segments which must be mapped to external RAM. -!
- -Z(XDATA)DATA,TEMP,IDATA,UDATA,ECSTR,WCSTR,XSTACK=0
- -! Load the object modules in the program -!
- a_hlmain
- a_inner
- a_waste
- -! Load the 'C' library -!
- -! c:\c51v2\cl8051 -!
- mylib
- -! ===== following added by XXX ===== -!
- -xsmi
- -Faomf8051
- -o a_demo.aom
- -l a_demo.map
- -! ===== end of: following added by XXX ===== -!
- -z
-