⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 avr313.xcl

📁 一种标准的PC AT键盘来提供大多数微控制器所需的某些人机接口方法
💻 XCL
字号:

-!                      - lnk1s.xcl -

    XLINK command file for the ICCA90 C-compiler using the -v1, -ms options.
    Segments are defined for a generic AT90S with a maximum of
     64 Kbytes data address space and   8 Kbytes program address space.

    Usage: xlink your_file(s) -f lnk1s

    Version: 1.08

    The following segments are used by the compiler:

    Program address space read only segments (internal Flash)
    =========================================================
    segment     address range  max size (dec)  used with compiler options    
    -------     -------------  --------------  --------------------------    
    INTVEC          0 -    1B   28 bytes       -e ("interrupt" keyword)      
    RCODE          1C -  1FFF    8 Kbytes     
    SWITCH         1C -  1FFF    8 Kbytes     
    FLASH          1C -  1FFF    8 Kbytes      -e ("flash" keyword)          
    CDATA0         1C -  1FFF    8 Kbytes      -e ("tiny" keyword)           
    CDATA1         1C -  1FFF    8 Kbytes      (if -y then const objects)    
    CCSTR          1C -  1FFF    8 Kbytes      -y                            
    CODE           1C -  1FFF    8 Kbytes     

    Data address space read only segments (external PROM)
    =====================================================
    segment     address range  max size (dec)  used with compiler options    
    -------     -------------  --------------  --------------------------    
    CONST           ? -  FFFF   64 Kbytes      Not -y                        
    CSTR            ? -  FFFF   64 Kbytes      Not -y                        

    Data address space read/write segments 
    ==============================================================
    segment     address range  max size (dec)  used with compiler options    
    -------     -------------  --------------  --------------------------    
    UDATA0         60 -    FF  224 bytes       -e ("tiny" keyword)           
    IDATA0         60 -    FF  224 bytes       -e ("tiny" keyword)           
    RSTACK         60 -  FFFF   64 Kbytes     
    CSTACK         60 -  FFFF   64 Kbytes      
    UDATA1         60 -  FFFF   64 Kbytes                                    
    IDATA1         60 -  FFFF   64 Kbytes      (if -y then const objects)    
    ECSTR          60 -  FFFF   64 Kbytes      -y                            

    Data address space read/write non-volatile segments (external EEPROM)
    =====================================================================
    segment     address range  max size (dec)  used with compiler options    
    -------     -------------  --------------  --------------------------    
    NO_INIT        60 -  FFFF   64 Kbytes      -e ("no_init" keyword)        

   "tiny" pointers can only access objects in the range 0-FF.
    Option -y stores strings in ECSTR (init value in CCSTR) instead of CSTR,
    and stores constants in IDATA1 (init value in CDATA1).
-!

-!  First define CPU -!

-ca90

-! Program address space (internal Flash memory) -!
-Z(CODE)INTVEC=0-1B
-Z(CODE)RCODE,CDATA0,CDATA1,CCSTR,SWITCH,FLASH,CODE=1C-1FFF

-! Data address space -!
-! The registers are in 0-1F and memmory mapped I/O in 20-5F -!
-Z(DATA)IDATA0,UDATA0=60-DF

-! Return address stack -!

-! Select if the return address stack is in external RAM or in internal SRAM -!
-!-e?RSTACK_IN_EXTERNAL_RAM=?C_STARTUP -!

-! Select if the return address stack is in external RAM or in internal SRAM -!

-Z(DATA)RSTACK+20,CSTACK+40,IDATA1,UDATA1,ECSTR=60-25F


-! Near memory  -!
-! Data address space (external EEPROM) -!
-Z(DATA)NO_INIT=8000-8FFF

-! Data address space (external PROM) -!
-! 
    If Motorola S-records are produced (-Fmotorola), then the next line
    should be changed by adding a value >= 100000 to the addresses,
    and DATA is changed to NEAR, e.g.
        -Z(NEAR)CSTR,CONST=109000-10FFFF
    This will avoid overlap between the program and data address spaces.
-!
-Z(DATA)CSTR,CONST=9000-FFFF

-!  Select reduced "printf" support to reduce library size.
    See configuration section in manual concerning printf/sprintf. -!

-e_small_write=_formatted_write
-e_small_write_P=_formatted_write_P

-!  Disable floating-point support in "scanf" to reduce library size.
    See configuration section in manual concerning scanf/sscanf -!

-e_medium_read=_formatted_read
-e_medium_read_P=_formatted_read_P

-! Suppress one warning which is not relevant for this processor -!
-w29

-!  Now load the 'C' library -!

cl1s

-! Code will now reside in file aout.a90 or aout.d90, unless -o is specified -!
-! .d90 is the default if debug system is linked (option -r) -!
-! .a90 is the default without debugging. Default format is -Fmotorola -!

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -