ERROR! at EOF: [E0300] The following symbols are undefined:
BRC
AR7
AR6
AR5
AR4
AR0
BK
Errors in Source – Assembler Aborted
以下是源程序
.mmregs
.global start
.def start,_c_int00
INDEX .set 1
KS .set 256
.copy "firin.inc" ;x(n)在程序区0x00A6
.copy "gt.inc" ;Bn
.data
OUTPUT .space 1024 ;输出在数据区0x2400
FIR_DP .usect "FIR_VARS",0
D_FIN .usect "FIR_VARS",1
D_FOUT .usect "FIR_VARS",1
COFFTAB .usect "FIR_COFF",N
DATABUF .usect "FIR_BFR",N
BOS .usect "STACK",0Fh
TOS .usect "STACK",1
.text
.asg AR0,INDEX_P
.asg AR4,DATA_P
.asg AR5,COFF_P
.asg AR6,INBUF_P
.asg AR7,OUTBUF_P
_c_int00
b start
nop
nop
start:
STM #COFFTAB,COFF_P
RPT #N-1
MVPD #COFF_FIR,*COFF_P+
STM #INDEX,INDEX_P
STM #DATABUF,DATA_P
RPTZ A,#N-1
STL A,*DATA_P+
STM #(DATABUF+N-1),DATA_P
STM #COFFTAB,COFF_P
FIR_TASK:
STM #INPUT,INBUF_P
STM #OUTPUT,OUTBUF_P
STM #KS-1,BRC
RPTBD LOOP-1
STM #N,BK
LD *INBUF_P+,A
FIR_FILTER:
STL A,*DATA_P+%
RPTZ A,N-1
MAC *DATA_P+0%,*COFF_P+0%,A
STH A,*OUTBUF_P+
LOOP:
EEND B EEND
.end
Shine:
请问用的是什么器件? 到project Properties -> C6000 Compiler -> Processor Options – >Target processor version里有没有写相应的系列名。
user5605284:
回复 Shine:
写了4
Shine:
回复 user5605284:
4代表什么?如果用的是C6000系列的芯片,有
Target CPU version options include:
• -mv6400+ or -mv64+
• -mv6740
• -mv6600
user5605284:
回复 Shine:
我之前用的是CCS2000,老版的,用的C54芯片,现在用的是v8,新手,不会用,需要设置什么吗?
Shine:
回复 user5605284:
ccs v8不支持c54x,请用CCS v5。
processors.wiki.ti.com/…/FAQ_-_CCSv6