d9177y_o.xcl

来自「320x240 inicialization code for display」· XCL 代码 · 共 72 行

XCL
72
字号
//--------------------------------------------------------------------------
//	         - uPD789177Y.xcl -
//
//	NEC 78K0S microcontroller device uPD789177Y.
//
//	XLINK command file template.
//
//	D9177y.H created from device file d9177y.78k [V1.00]
//	XCL file generator E2.03a
//--------------------------------------------------------------------------

//--------------------------------------------------------------------------
// Define CPU.
//--------------------------------------------------------------------------
-c78000

//--------------------------------------------------------------------------
// Allocate interrupt vector segment.
//--------------------------------------------------------------------------
-Z(CODE)INTVEC=0000-0023

//--------------------------------------------------------------------------
// Allocate CALLT segments.
//--------------------------------------------------------------------------
-Z(CODE)FLIST,IFLIST=0040-007F

//--------------------------------------------------------------------------
// Allocate CALLF segment.
//
// Note: This entry is necessary to avoid XLINK warnings.
//       If this segment is in use, adjustments to program code
//       allocation will be necessary!
//--------------------------------------------------------------------------
-Z(CODE)FCODE=0000

//--------------------------------------------------------------------------
// Allocate program code segments.
//--------------------------------------------------------------------------
-Z(CODE)RCODE,CODE,CONST,CSTR,CCSTR,CDATA0,CDATA1,CDATA2=0080-5FFF

//--------------------------------------------------------------------------
// Allocate program data segments.
//--------------------------------------------------------------------------
-Z(DATA)CSTACK+80,NO_INIT,IDATA2,UDATA2,ECSTR,TEMP=FD00-FE1F

//--------------------------------------------------------------------------
// Allocate saddr data segments.
//--------------------------------------------------------------------------
-Z(DATA)WRKSEG,IDATA0,IDATA1,UDATA0,UDATA1=FE20-FEFF

//--------------------------------------------------------------------------
// Allocate bit segment.
//--------------------------------------------------------------------------
-Z(BIT)BITVARS#6FF

//--------------------------------------------------------------------------
// Select the printf/scanf formatter.
//--------------------------------------------------------------------------
-e_small_write=_formatted_write
-e_medium_read=_formatted_read

//--------------------------------------------------------------------------
// Select the 'C' library.
//--------------------------------------------------------------------------
cl7802s

//--------------------------------------------------------------------------
// Select the output file format.
//--------------------------------------------------------------------------
//-FNEC2     // selected in the Embedded Workbench

⌨️ 快捷键说明

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