View Single Post
Old 02 July 2014, 21:59   #36
Asman
68k

Asman's Avatar
 
Join Date: Sep 2005
Location: Somewhere
Posts: 628
@Galahad/FLT

before loop add: moveq #0,d2

and change clr.w (a2)+ --> move.w d2,(a2)+ and save 4 cycles in every rept

edit: save next 4 cycles

moveq #48,d1 ; 160-14*8
moveq #0,d2
.loop

REPT 14
move.l (a0)+,(a1)+
move.w (a0)+,(a1)+
move.w d2,(a1)+
ENDR

add.l d1,a1 ; no diff in cycles if we use add.w or add.l so I prefer add.l
dbf d0,.loop

Last edited by Asman; 02 July 2014 at 22:11.
Asman is offline  
 
Page generated in 0.05208 seconds with 9 queries