DSPRelated.com
Forums

creating a ldf file

Started by krishna moorthy April 17, 2006
dear friends

I am having a problem in calling a ASM program from C program which is having a interrupt from / through sport0 for ADC.
The compiler says an error "[Error li1021] The following symbols referenced in processor 'P0' could not be resolved:
'___lib_prog_term' referenced from 'libc.dlb[exit.doj]' ".
The programs are working fine with seperate .ldf files.
I have found that the *.ldf file created for asm is not compiling C program and vice versa.
My questions are:
how to create .ldf file that works in this situation?
Can i call a interrupt isr in asm program? if so, what is the procedure?
I am working in adsp21065l, adsp C++ 3.5 ver. my target board is ezlite kit.
With Regards,

D.Krishna Moorthy, M.S.,
CSIO, CSIR Complex,
Taramani, Chennai - 600 113
Ph: (O)91-044-22541061
(R)91-044-24404257, 09380070731
mail: d...@yahoo.com