function Abs(i: Integer): Integer; assembler; register; asmmov edx, eax sar edx, 31 xor eax, edx // "xor eax,edx + sub eax,edx" is equal to sub eax, edx // if edx = -1 then neg eaxend;
Collection of fast assembler routine for daily hardcore programming use in Delphi (BASM). They are all lightning fast. Every byte of code is optimized into most efficient machine instructions. They can improve performance of your application in doing large repetitive task such millions records data processing, complex math operations, graphics manipulation, etc.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment