[Code-Crunchers] Assembly Gems

Arkon arkon at ragestorm.net
Fri Nov 17 13:21:53 CST 2006


Hi

 

Some links with assembly gems, I haven't found anything else on the inet.

http://home.sch.bme.hu/~ervin/codegems.html

http://www.df.lth.se/~john_e/

 

Unfortunately, there are lots of tricks undocumented.

I'm starting a project with Peter Ferrie for assembly gems, if you have cool
tricks please send them here.

 

We welcome everything, mainly:

Size optimizations

Branch free tricks

Small algorithms

Shell code

Or whatever you are up to.

 

Here's a start (something I really like):

SUB EAX, EBX

CDQ (or SBB EDX, EDX for UNSIGNED)

AND EAX, EDX

ADD EAX, EBX

 

Gil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://whitestar.linuxbox.org/pipermail/code-crunchers/attachments/20061117/ac29ec4c/attachment.htm 


More information about the Code-Crunchers mailing list