📄 lnk1s512.xcl
字号:
-! - lnk1s512.xcl -
XLINK command file for the ICCA90 C-compiler using the -v1, -ms
options. Segments are defined for a 8515 AT90S with no external
memory (which implies -y, writable strings and constants).
Usage: xlink your_file(s) -f lnk1s512
File version: $Revision: 1.2 $
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 - 19 26 bytes -e ("interrupt" keyword)
RCODE 1A - 1FFF 8 Kbytes
SWITCH 1A - 1FFF 8 Kbytes
FLASH 1A - 1FFF 8 Kbytes -e ("flash" keyword)
CDATA0 1A - 1FFF 8 Kbytes -e ("tiny" keyword)
CDATA1 1A - 1FFF 8 Kbytes (with -y const objects)
CCSTR 1A - 1FFF 8 Kbytes -y
CODE 1A - 1FFF 8 Kbytes
Data address space read/write segments
==============================================================
segment address range max size (dec) used with compiler options
------- ------------- -------------- --------------------------
UDATA0 60 - FF 159 bytes -e ("tiny" keyword)
IDATA0 60 - FF 159 bytes -e ("tiny" keyword)
RSTACK 60 - 25F 512 bytes
CSTACK 60 - 25F 512 bytes
UDATA1 60 - 25F 512 bytes
IDATA1 60 - 25F 512 bytes (with -y const objects)
ECSTR 60 - 25F 512 bytes -y
NO_INIT 60 - 25F 512 bytess -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-20
-Z(CODE)RCODE,CDATA0,CDATA1,CCSTR,SWITCH,FLASH,CODE=21-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_SRAM=?C_STARTUP -!
-! -Z(DATA)RSTACK+40=E0-11F -!
-! Near memory -!
-Z(DATA)IDATA0,UDATA0,CSTACK+60,IDATA1,UDATA1,ECSTR,NO_INIT,RSTACK+20=60-25F
-! 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 + -