Hello Everybody, Im looking for the source code of boot.asm or FUNC _c_int00 for TMS320C3X(32 specific). If someone can send me the code or suggest me where to find this. Best Regards, Khurram |
|
looking for boot.asm
Started by ●December 11, 2003
Reply by ●December 11, 20032003-12-11
Hello Khurram c_int00 and a host of other functions can be found in the RTS source libraries. The source libraries are normally managed by the library utility program(s). If if you then look at the sources with a text editor you will see that they are really nothing more than concatenations of many files into big text files, so you could in theory simply search for c_int00 and copy it. Just make sure you either assemble and link c_int00 *before* calling the libarary (the linker takes the first instance it finds and ignores future instances) or put your version of c_int00 back into the library (and rebuild it) I too have been doing this recently as I wanted to write a long double equivelent of sinl() and cosl() and I started with the sin/cos ASM functions found in MATHASM.SRC. Some of that work appears in the latest DSK version and the example given below. Best regards Keith Larson Extras: C3x DSK code can now be downloaded from the following web site. http://www-s.ti.com/sc/psheets/sprc147/sprc147.zip Also, I am told that the VC33 DSK will be available from the TI E-store within a few days. This should help with respect to the boards availability through distribution channels. 'long double' also came up as a topic a few days ago... here is something new. For anyone using 'long double' math, here is a new version of MPY_LD that shaves the cycle count from 15 to 11 cycles. I still need to run a 'deep' regression on this comparing it to the original, but I would be interested to know if anyone uses this and anything they find. ;-------------------- ; long double MPY_LD(long double A,long double B) ; ; 11 cycles ; input F0, F1 ; used F2, F3, bk ; return F0 ;------------------- .global MPY_LD MPY_LD ldf R0,R2 ; LDBL(R2,R0) ANDN 0FFH,R2 ; subf R2,R0 ; ;- - - - - - - - - - - - - - ldf R1,R3 ; LDBL(R1,R3) ANDN 0FFH,R1 ; MPYF3 R0,R1 ,R0 ; LO*HI || subf R1,R3 ,R3 ; ;- - - - - - - - - - - - - - pop bk ; fast return bud bk ; MPYF3 R2,R3 ,R3 ; hi*lo MPYF3 R2,R1 ,R1 ; hi*hi || ADDF3 R3,R0 ,R3 ; ADDF3 R3,R1,R0 ; ------------------------------- At 10:54 PM 12/10/03 -0800, you wrote: Hello Everybody, Im looking for the source code of boot.asm or FUNC _c_int00 for TMS320C3X(32 specific). If someone can send me the code or suggest me where to find this. Best Regards, Khurram +-----------+ |Keith Larson | |Member Group Technical Staff | |Texas Instruments Incorporated | | | | 281-274-3288 | | | | www.micro.ti.com/~klarson | |-----------+ | TMS320C3x/C4x/VC33 Applications | | | | TMS320VC33 | | The lowest cost and lowest power 500 w/Mflop | | floating point DSP on the planet! | +-----------+ |