View Single Post
Old 23 March 2010, 10:13   #89
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by pmc View Post
Sting - after yesterday's shrinking there's two free address regs - a0 and a1 if I remember correctly.

Maybe we might get below 418 yet!

Use the pea optimization, easier. ;D Turns out I wasn't wrong and it is indeed 2 bytes smaller. ;D (too stressful to do "fun code" when boss is around ;D)

And since I deleted my original post, I'll post the pea optimization again.

pea $8000
move.l (a7),a4
...
rts

instead of
lea $8000,a4
....
jmp $8000

Last edited by StingRay; 23 March 2010 at 10:23. Reason: added "lost" pea version again :D
StingRay is offline  
 
Page generated in 0.09069 seconds with 11 queries