hi
i am getting another warnings while compiling for sine wave TMS320C5416 processor in assembly language. i use to get these in many programs.what they say and how to remove them?
these are the warnings i got:
<Linking>
>> warning: creating output section COSINE without SECTIONS specification
>> warning: creating output section STACK without SECTIONS specification
>> warning: creating output section CODE without SECTIONS specification
>> warning: entry point symbol _c_int00 undefined
Build Complete,
0 Errors, 4 Warnings, 0 Remarks.
and here's the code for sine wave i tried:
FREQ1000 .set 1486
FREQ1750 .set 2600
FREQ2000 .set 2972
FREQ3000 .set 4458
FRAME_SIZE .set 64
.mmregs
.include "cos256_tbl.inc"
.global COSINE_BUFFER
.global FREQ_BUFFER
.bss TEMP,1
.bss FREQ_BUFFER,128
.bss COSINE_BUFFER,257
.bss _FREQ_STEP,1
.bss _INIT_PHASE,1
.def FREQ
STK .usect "STACK",100
.mmregs
.sect "CODE"
FREQ:
SSBX OVM
SSBX SXM
SSBX FRCT
NOP
NOP
STM #STK+100H,SP
STM #001EH,PMST
ST #FREQ1000,*(_FREQ_STEP) ;
ST #0,*(_INIT_PHASE) ;
STM #FREQ_BUFFER,AR3 ;
CALL COPY_COS_TBL ;
CALL GEN_FREQ ;
LOOP:
B LOOP ;
GEN_FREQ:
STM #FRAME_SIZE-1,BRC ;
RPTB sine1-1
LD *(_FREQ_STEP),A ;
ADD *(_INIT_PHASE),A ;A=PRESENT PHASE
STL A,*(_INIT_PHASE) ;SAVE PRESENT PHASE
SUB #4000H,A ;SUB PI/2 FOR SINE
ABS A ;Acc CONTAINS THE OFFSET
STL A,*(TEMP) ;
LD *(TEMP),9,A ;
STH A,*(TEMP) ;
LD *(TEMP),A ;
ABS A ;
ADD #COSINE_BUFFER,A ;
STLM A,AR2 ;
nop ;
nop ;
LD *AR2,A ;
STL A,*AR3+ ;
sine1:
NOP ;
RET ;
COPY_COS_TBL:
STM #COSINE_BUFFER,AR2
RPT #257-1
MVPD #COSOFF,*AR2+
RET
what's the problem now?