高级会员
- 积分
- 527
- 金钱
- 527
- 注册时间
- 2017-11-2
- 在线时间
- 122 小时
|
1金钱
define memory with size = 16M;
define region TinyData = [from 0x00 to 0xFF];
define region NearData = [from 0x0000 to 0x17FF];
define region Eeprom = [from 0x4000 to 0x47FF];
define region BootROM = [from 0x6000 to 0x67FF];
define region NearFuncCode = [from 0x9800 to 0x17FFF];//icf文件 define region NearFuncCode初始地址大于0x8000烧录时程序卡死//
//define region FarFuncCode = [from 0x8000 to 0xFFFF]
// | [from 0x10000 to 0x1FFFF]
// | [from 0x20000 to 0x27FFF];
define region FarFuncCode = [from 0x9800 to 0xFFFF]
| [from 0x10000 to 0x1FFFF]
| [from 0x20000 to 0x27FFF];
//define region HugeFuncCode = [from 0x8000 to 0x17FFF];
define region HugeFuncCode = [from 0x9800 to 0x17FFF];
/////////////////////////////////////////////////////////////////
define block CSTACK with size = _CSTACK_SIZE {};
define block HEAP with size = _HEAP_SIZE {};
define block INTVEC with size = 0x80 { ro section .intvec };
|
|