Sign in

username:

password:



Not a member?

Search c3x



Search tips

Subscribe to c3x



c3x by Keywords

Boot | C31 | TMS320VC33 | VC33

Discussion Groups

Discussion Groups | TMS320C3x | looking for boot.asm

Technical discussions about the TI C3x DSPs (including the C31, C32 and C33 DSPs).

  

Post a new Thread

looking for boot.asm - khurram hameed - Dec 11 6:54:00 2003



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





(You need to be a member of c3x -- send a blank email to c3x-subscribe@yahoogroups.com )

Re: looking for boot.asm - Keith E. Larson - Dec 11 15:15:00 2003

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! |
+-----------------------------------------------+




(You need to be a member of c3x -- send a blank email to c3x-subscribe@yahoogroups.com )