📄 m16c.xcl
字号:
-! ************************************************************************** -!
-! **MITSUBISHI**MITSUBISHI**MITSUBISHI**MITSUBISHI**MITSUBISHI**MITSUBISHI** -!
-! ************************************************************************** -!
-! ************************************************************************** -!
-! * DISCLAIMER: * -!
-! * We (MITSUBISHI ELECTRIC B.V.) do not warrant that the Software is * -!
-! * free from claims by a third party of copyright, patent, trademark, * -!
-! * trade secret or any other intellectual property infringement. * -!
-! * * -!
-! * Under no circumstances are we liable for any of the following: * -!
-! * * -!
-! * 1. third-party claims against you for losses or damages; * -!
-! * 2. loss of, or damage to, your records or data; or * -!
-! * 3. economic consequential damages (including lost profits or * -!
-! * savings) or incidental damages, even if we are informed of * -!
-! * their possibility. * -!
-! * * -!
-! * We do not warrant uninterrupted or error free operation of the * -!
-! * Software. We have no obligation to provide service, defect * -!
-! * correction, or any maintenance for the Software. We have no * -!
-! * obligation to supply any Software updates or enhancements to you * -!
-! * even if such are or later become available. * -!
-! * * -!
-! * IF YOU DOWNLOAD OR USE THIS SOFTWARE YOU AGREE TO THESE TERMS. * -!
-! * * -!
-! * THERE ARE NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING THE * -!
-! * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A * -!
-! * PARTICULAR PURPOSE. * -!
-! ************************************************************************** -!
-! ************************************************************************** -!
-! - m16c.xcl -!
-! DATE: 4.April.97 GA -!
-! -!
-! XLINK 4.47I, or higher, command file to be used with the M16C -!
-! C-compiler V1.xx -!
-! Usage: xlink your_file(s) -f lnkm16c -!
-! -!
-! IMPORTANT: 1. Use a copy of this file. -!
-! 2. Select a C library at the end of this file -!
-! that matches the size of double. -!
-! (-2 switch to the compiler) -!
-! -!
-! ************************************************************************** -!
-! First: define CPU -!
-cm16c
-ylbm
-! object files to be linked with XLINK -!
-! Relocatable "bit" segment. As BITVARS contains bit addresses,
the desired (byte) address has to be multiplied by 8.
Address 400 --> 400 * 8 = 2000 -!
-Z(BIT)BITVARS=2000
-! Segments that has to be within the first 64K. -!
-Z(NEAR)IDATA0,UDATA0,ECSTR,WCSTR=401
-! Set up user stack and give it a size of 200 (hex) bytes -!
-Z(NEAR)CSTACK+400
-! Set up interrupt stack and give it a size of 40 (hex) bytes -!
-Z(NEAR)ISTACK+20
-! Constant strings and other constants that has to be
located within the first 64K -!
-Z(NEARCONST)CONST,CSTR
-! Far and huge data segments starting at address 10000 -!
-Z(FAR)IDATA1,UDATA1
-Z(HUGE)IDATA2,UDATA2
-! Code (ROM) segments starting at address 80000. -!
-Z(FARCONST)CCSTR,CDATA0,CDATA1=C0000
-Z(HUGECONST)CDATA2
-! CODE segment -!
-Z(HUGECODE)CODE
-! Special page vector table -!
-Z(HUGECONST)INTVEC=F0000
-! Set up the tiny-func table -!
-Z(HUGECONST)FLIST
-! Fixed interrupt table -!
-Z(HUGECONST)INTVEC1=FFFDC-FFFFF
-! See configuration section concerning printf/sprintf -!
-e_small_write=_formatted_write
-! See configuration section concerning scanf/sscanf -!
-e_medium_read=_formatted_read
-! Select C library. -!
-C clm16c
-! clm16cd -!
-! -C c:\tool\iar\m16c\lib\clm16cf -!
-! Code will now reside on file aout.a34 in INTEL-STANDARD format -!
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -