MOTOROLA
DSP96002 USER’S MANUAL
B-73
B.1.40.1 32 Bit Block Transfer
32 Bit Block Transfer
Program
ICycles
BITBLT
Words
org x:0
source ds 1 ;source address
dest ds 1 ;destination address
offset ds 1 ;bit number start (0-31)
count ds 1 ;number of 32 bit source words
org p:$50
move x:offset,d0.l ;get output bit position 2 2
move #32,d1.l ;get 32 1 1
sub d0,d1 x:source,r0 ;32-offset, point to source 2 2
move x:dest,r1 ;point to destination address 2 2
move d1.l,d1.h ;move shift factor 1 1
move y:(r1),d4.l ;get first bits of dest 1 1
lsl d1,d4 d0.l,d0.h ;shift bits, move shift fact 1 1
move x:count,n0 ;get source word count 2 2
do n0,bitblt ;do transfer 2 3
lsr d1,d4 y:(r0)+,d5.l ;shift old bits, get source bits 1 1
lsl d0,d5 d5.l,d3.l ;shift new bits, save new bits 1 1
or d4,d5 d3.l,d4.l ;merge bits, save new as old bit 1 1
move d5.l,y:(r1)+ ;save new dest field 1 1
bitblt
lsr d1,d4 y:(r1),d5.l ;shift old bits, get dest bits 1 1
lsr d0,d5 ;shift dest bits 1 1
lsl d0,d5 ;shift dest bits back 1 1
or d4,d5 ;part of dest with source bits 1 1
move d5.l,y:(r1) ;save new destination bits 1 1
--- ---
Totals: 24 4N+20
Where N represents 32 bits transferred. At a 13.5 MIPS, a total of (13.5/4)*32 = 108 MBits/Second transfer
rate is possible.
Содержание DSP96002
Страница 3: ...1 2 DSP96002 USER S MANUAL MOTOROLA ...
Страница 38: ...MOTOROLA DSP96002 USER S MANUAL 3 15 Figure 3 4 Modulo Arithmetic Unit Block Diagram ...
Страница 39: ...3 16 DSP96002 USER S MANUAL MOTOROLA ...
Страница 53: ...4 14 DSP96002 USER S MANUAL MOTOROLA ...
Страница 76: ...MOTOROLA DSP96002 USER S MANUAL 5 23 Figure 5 8 Address Modifier Summary ...
Страница 86: ...6 10 DSP96002 USER S MANUAL MOTOROLA ...
Страница 101: ...MOTOROLA DSP96002 USER S MANUAL 7 15 Figure 7 9 HI Block Diagram One Port ...
Страница 140: ...7 54 DSP96002 USER S MANUAL MOTOROLA ...
Страница 166: ...9 10 DSP96002 USER S MANUAL MOTOROLA ...
Страница 181: ...MOTOROLA DSP96002 USER S MANUAL 10 15 Figure 10 8 Program Address Bus FIFO ...
Страница 336: ...A 148 DSP96002 USER S MANUAL MOTOROLA FMPY S2 S1 D1 FSUB S S3 D2 move syntax see the MOVE instruction de scription ...
Страница 337: ...MOTOROLA DSP96002 USER S MANUAL A 149 ...
Страница 404: ...A 216 DSP96002 USER S MANUAL MOTOROLA PC xxxx D ...
Страница 460: ...A 272 DSP96002 USER S MANUAL MOTOROLA SIOP Not affected ...
Страница 484: ...A 296 DSP96002 USER S MANUAL MOTOROLA SSH PC SSL SR SP 1 SP ...
Страница 519: ...MOTOROLA DSP96002 USER S MANUAL A 331 ...
Страница 580: ...MOTOROLA DSP96002 USER S MANUAL B 61 X Memory Y Memory n0 3 r0 x0 Xmin r4 y0 Xmax z0 Ymin x1 Ymax y1 Zmin z1 Zmax ...
Страница 718: ...MOTOROLA DSP96002 USER S MANUAL B 199 ...
Страница 871: ... MOTOROLA INC 1994 MOTOROLA TECHNICAL DATA SEMICONDUCTOR M Addendum ...
Страница 888: ...MOTOROLA INDEX 1 INDEX ...
Страница 889: ......