共2条
1/1 1 跳转至页
iar2,10 iar2.10 汇编
问
我把1.26版本的汇编升级到IAR2.10,按照例程在前面增加如下语句:
NAME main
PUBLIC main
ORG 0FFFEh ; MSP430 RESET
DW main
RSEG CSTACK /*定义堆栈段*/
DS 0
RSEG CODE /*代码段开始*/
DS 0
#include "MSP430X14X.H"
ORG 02000h
main ......
请问DS PUBLIC 是啥意思啊??
还有 连接时老出错:Error[e16] Segment INIVEC(size: 0xfffe align:0x1)is too long for segment definition.At least 0xffe0 more bytes needed.The problem occurred while processing the segment placement command"-Z(CONST)INTVEC=FFE0-FFFF",where at the moment of placement the available memory ranges were "CODE:FFE0-FFFF"
NAME main
PUBLIC main
ORG 0FFFEh ; MSP430 RESET
DW main
RSEG CSTACK /*定义堆栈段*/
DS 0
RSEG CODE /*代码段开始*/
DS 0
#include "MSP430X14X.H"
ORG 02000h
main ......
请问DS PUBLIC 是啥意思啊??
还有 连接时老出错:Error[e16] Segment INIVEC(size: 0xfffe align:0x1)is too long for segment definition.At least 0xffe0 more bytes needed.The problem occurred while processing the segment placement command"-Z(CONST)INTVEC=FFE0-FFFF",where at the moment of placement the available memory ranges were "CODE:FFE0-FFFF"
共2条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |