6
votes
Vote UpVote

BASM? Yes we can!

DelphiTools – BASM may not be in the Delphi 64 preview, but a proof of concept of “BASM-for-DWS” is now available for DWScript in the SVN! It builds upon recently introduced “language extensions”, to allow “asm” blocks, which will be pre-parsed (to allow BASM-like references to local variables), and then fed to NASM for actual assembling (which you’ll need to download). const cOne = 1.0; function RSqrt(x : Float) : Float; begin asm // Result := 1/Sqrt(x); fld x; fsqrt; fld cOne; // could have used fld1 here fdivr; fstp Result; ...
Favorite? Off-Topic? Eric @ 2010-11-18 08:17

Statistics

Visits: 781
Votes: 6
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Charles Ardour
Daniele Teti
knight_killer
Sergio
Yogi Yang
Zzzzz
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)