|
.include "table.asm"
.include "macro.asm"
.text
isr
SENDR R1,GPR_AX ;把0x20010000存入R1
LDR R0,[R1]
SENDR R1,C_LIST ;这条语句有问题
LDRH R0,[R1]
.end
;---------------------------------------
----------------"macro.asm"-------------
GPR_AX .set 0x20010000
SENDR .macro RX,ADDR
MOVW RX,#ADDR&0xFFFF
MOVT RX,#ADDR>>16
.endm
;---------------------------------------
----------------"table.asm"-------------
C_LIST
.half 0x2A
.half 0x1A
.half 0x39
.half 0x99
请大家帮忙怎么解决这个问题?芯片是F28M35H20B
|
|