共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 跳转至页
回复
有奖活动 | |
---|---|
“我踩过的那些坑”主题活动——第002期 | |
【EEPW电子工程师创研计划】技术变现通道已开启~ | |
发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
【EEPW在线】E起听工程师的声音! | |
高校联络员开始招募啦!有惊喜!! | |
【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
送您一块开发板,2025年“我要开发板活动”又开始了! | |
打赏了!打赏了!打赏了! |