目标板是VC33
.global start
.mmregs
.data
.bss x,1
.bss y,1
.text
start:
STM #x,AR1
STM #y,AR2
ST #1,*AR1
ST #2,*AR2
LD *AR1,A
ADD *AR2,A
.end
compile后提示为:
asm30 XF.ASM XF.obj -s -v30
TMS320C3x/4x COFF Assembler Version 5.11
Copyright (c) 1987-1999 Texas Instruments Incorporated
PASS 1
PASS 2
.mmregs
"XF.ASM", line 2: INVALID OPCODE
STM #x,AR1
"XF.ASM", line 8: INVALID OPCODE
STM #y,AR2
"XF.ASM", line 9: INVALID OPCODE
ST #1,*AR1
"XF.ASM", line 10: INVALID OPCODE
ST #2,*AR2
"XF.ASM", line 11: INVALID OPCODE
LD *AR1,A
"XF.ASM", line 12: INVALID OPCODE
ADD *AR2,A
"XF.ASM", line 13: INVALID OPCODE
7 Errors, No Warnings
Errors in source - Assembler Aborted
Compile Complete,
7 Errors, 0 Warnings. |