View Single Post
Old 03 February 2011, 16:28   #9
Galahad/FLT
Going nowhere

Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 46
Posts: 7,503
How about:

add.w d4,a0
move.l (a0),a1

as

move.l 0(a0,d4.w),a1

Also using the movem.l instruction to move lots of longwords in one instruction as opposed to a more processor intensive loop

Last edited by Galahad/FLT; 03 February 2011 at 22:56. Reason: Back-to-back posts merged. Use the edit function.
Galahad/FLT is offline  
 
Page generated in 0.04142 seconds with 11 queries