📄 s1c88348.dsc
字号:
/**************************************************************************
**
** FILE : @(#)s1c88348.dsc 1.2
**
** VERSION : 99/04/19
**
** DESCRIPTION : software description for S1C88348
**
** COPYRIGHT : 2000 SEIKO EPSON CORPORATION
**
**************************************************************************/
software {
// define program start label
// program start label is the start of the code
// reset vector should point to this label
load_mod start=__START;
// define software layout
layout {
// define the preferred locating order of sections
// in the memory space
// (the range is defined in the s1c88316.cpu file)
space SMC88_space {
// define for each sub-area in the space
// the locating order of sections
block total_range {
// define a cluster for read-only sections
// containing:
// - program code
// - romdata sections
// * vectors
// * strings
// * constant data
// - copy table (used by startup code)
// - initialization data
// (copied to ram by startup code)
cluster rom {
attribute r;
amode code_short {
// system reserved
// (exception vector)
reserved length=0x2 addr=0x24;
reserved length=0x26 addr=0x00;
}
amode code_short {
// allocate short program code
// before short romdata
section selection=x;
section selection=r;
}
amode code {
// allocate program code,
// then allocate romdata,
// initialization data,
section selection=x;
section selection=r;
copy;
table;
}
amode data_short {
// allocate short romdata
section selection=r;
}
amode data {
// allocate far romdata
// copy table
section selection=r;
}
}
// define a cluster for ram sections
// containing:
// - uninitialized data
// - initialized data
// * zeroed by startup code
// (clean attribute)
// * copied from initialization data
// by startup code (init attribute)
// - heap (only when used)
// - stack
// - buffer needed by debugger
cluster ram {
attribute w;
amode data_tiny {
// allocate tiny memory code
// before short romdata
section selection=w;
}
amode data_short {
// allocate short data
section selection=w;
//heap;
heap length = 0x50;
}
amode data {
// allocate far data,
// heap (growing upwards)
// stack (growing downwards)
// reservation for CrossView debugger
// (only when using '-g')
section selection=w;
reserved label=xvwbuffer length=0x10;
stack;
}
}
}
}
}
}
cpu s1c88348.cpu
memory s1c88348.mem
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -