Re: A89: matrix
[Prev][Next][Index][Thread]
Re: A89: matrix
> movem.l d1-d7/a2-a6,-(sp) ; Save all registers
> loop:
> movem.l (a0)+,d1-d7/a2-a6 ; Suck in 48 bytes at once
> movem.l d1-d7/a2-a6,(a1)+ ; Store them at destination
> movem.l (a0)+,d1-d7/a2-a6 ; Suck next 48 bytes in
> movem.l d1-d7/a2-a6,(a1)+ ; Store at destination
> ...
shouldn't this be dbra d0,loop since d1 is used in the copying and d0 is free?
> dbra d1,loop ; Do the loop if needed
> movem.l (sp)+,d1-d7/a2-a6 ; Restore registers
Follow-Ups: