View Single Post
Old 06 October 2011, 22:12   #6
Leffmann
Leffmann with two n's
Leffmann's Avatar
 
Join Date: Jul 2008
Location: Sweden
Posts: 1,517
I would just do this to keep it short. I guess speed doesn't matter much since it's only 32 colors. Are you making an image converter or is it for a demo?

Code:
move.b  (a0)+, d0
lsl.w   #4, d0
move.b  (a0)+, d0
lsl.w   #4, d0
move.b  (a0)+, d0
lsr.w   #4, d0
Leffmann is offline  
 
Page generated in 0.04306 seconds with 9 queries