View Single Post
Old 06 October 2011, 21:12   #6
Leffmann with two n's
Leffmann's Avatar
Join Date: Jul 2008
Location: Sweden
Posts: 1,630
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?

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.04435 seconds with 9 queries