Motorola DSP96002 User Manual page 700

32-bit digital signal processor
Table of Contents

Advertisement

depftst d7,d0,d1
jset
jmp
_snan2
jset
jmp
_op2sn
ftfr.x
_op1sn
bset
ftfr.x
bset
bset
bset
_done
nop
nop
nop
rts
endsec
B.5
NON-IEEE DOUBLE PRECISION USING SOFTWARE EMULATION
dplib
ident
;
; MOTOROLA DSP96002 DPLIB - VERSION 1.0
;
; EXTENDED DOUBLE PRECISION floating-point SUBROUTINE LIBRARY
;
page
;
; equates
;
exp
equ
sign
equ
ms
equ
ls
equ
bias
equ
dptemp
equ
page
org
ds
ds
ds
;
page
org
;
; MOTOROLA DSP96002 DPLIB - VERSION 1.0
;
; IEEE2DPLIB - Convert floating-point number in d0 to an internal
MOTOROLA
#5,sr,_snan2
_done
#13,sr,_op2sn
_done
d7,d6
#30,d6.m
d6,d5
#4,sr
#13,sr
#20,sr
1,0
132,60,1,1
0
1
2
3
$1fffffff
$1fc
x:dptemp
1
1
2
p:
DSP96002 USER'S MANUAL
;
;
;
;
;
;
;
;
;
;
;
;
; end of subroutine
;offset to exponent
;offset to sign
;offset to most significant word
;offset to least significand word
;exponent bias
;temporary storage in top 4 internal
;x memory locations
;double precision register
;exponent
;sign: 0=+, 1=-
;64 bit significand
B-181

Advertisement

Table of Contents
loading

Table of Contents