
B-170
DSP96002 USER’S MANUAL
MOTOROLA
;
; Round toward -infinity
;
_rminf jclr #31,d6.l,_lmove ; no rounding if positive
_addone move #$800,d7.l ; get increment number
add d7,d1 ; add one to lsb
jcc _acar ; jump if no carry
inc d3 ; increment mantr.high
_acar jcc _lmove ; jump if result normalized
lsr d3 ; shift right mantr.high
ror d1 ; shift right mantr.low
inc d6 ; increment expr
move #emsk,d7.l ; get exp mask
move d6.l,d5.l ; get expr
and d7,d5 ; delete tags
cmp d7,d5 ; check for max exp
jne _lmove ; jump if no overflow
move #0,d1.l ; set result to infinity
move #0,d1.m ; "
ori #$10,ccr ; set infinity bit
ori #$09,ier ; set OVF and INX bits in IER
ori #$09,er ; set OVF and INX bits in ER
jmp _emove ; get infinity exponent
;
; Get Result in D1
;
_lmove move d3.l,d1.m ; move mantr.high to d1
_emove move d6.l,d1.h ; move expr to d1
_done nop ;
nop ;
nop ;
rts ; end of subroutine
endsec
B.4.3
IEEE Double Precision Multiplication
;
;********************************************************************
;********************************************************************
; *** IEEE Double Extended Precision Multiply Operation
; ***
; *** The routine was implemented as a unsigned multiply routine.
; ***
; *** 64-bit input operand format (immediately before multiply):
; *** i.fff...fl
; ***
; *** 67-bit intermediate result format (immediately after post norm):
; *** i.fff...flgrs
; *** where
; *** i = integer bit
Summary of Contents for DSP96002
Page 3: ...1 2 DSP96002 USER S MANUAL MOTOROLA ...
Page 38: ...MOTOROLA DSP96002 USER S MANUAL 3 15 Figure 3 4 Modulo Arithmetic Unit Block Diagram ...
Page 39: ...3 16 DSP96002 USER S MANUAL MOTOROLA ...
Page 53: ...4 14 DSP96002 USER S MANUAL MOTOROLA ...
Page 76: ...MOTOROLA DSP96002 USER S MANUAL 5 23 Figure 5 8 Address Modifier Summary ...
Page 86: ...6 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 101: ...MOTOROLA DSP96002 USER S MANUAL 7 15 Figure 7 9 HI Block Diagram One Port ...
Page 140: ...7 54 DSP96002 USER S MANUAL MOTOROLA ...
Page 166: ...9 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 181: ...MOTOROLA DSP96002 USER S MANUAL 10 15 Figure 10 8 Program Address Bus FIFO ...
Page 337: ...MOTOROLA DSP96002 USER S MANUAL A 149 ...
Page 404: ...A 216 DSP96002 USER S MANUAL MOTOROLA PC xxxx D ...
Page 460: ...A 272 DSP96002 USER S MANUAL MOTOROLA SIOP Not affected ...
Page 484: ...A 296 DSP96002 USER S MANUAL MOTOROLA SSH PC SSL SR SP 1 SP ...
Page 519: ...MOTOROLA DSP96002 USER S MANUAL A 331 ...
Page 718: ...MOTOROLA DSP96002 USER S MANUAL B 199 ...
Page 871: ... MOTOROLA INC 1994 MOTOROLA TECHNICAL DATA SEMICONDUCTOR M Addendum ...
Page 888: ...MOTOROLA INDEX 1 INDEX ...
Page 889: ......