共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 跳转至页
回复
我要赚赏金打赏帖 |
|
|---|---|
| 基于MCP23S17的输入输出功能模块控制被打赏¥20元 | |
| 【S32K3XX】SPD 软件包使用Link文件修改被打赏¥22元 | |
| Switch-Case局部变量定义问题被打赏¥23元 | |
| 基于米尔TIAM62L开发板的串口通信及应用被打赏¥20元 | |
| PCF8574功能模块及其使用被打赏¥20元 | |
| 传感器LSM6DSO及LIS3MDL的功能检测被打赏¥18元 | |
| LPS25HB气压传感器及其检测被打赏¥18元 | |
| HTS221温湿度传感器及其检测被打赏¥18元 | |
| 【S32K3XX】HSE FW 版本更新被打赏¥21元 | |
| 基于ArduinoUNO开发板的AT24C02读写测试被打赏¥16元 | |
我要赚赏金
