共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 跳转至页
我要赚赏金
