Monthly Archives: October 2011

Linking Assembly Language with Delphi Part II

On the 16th October, I posted about linking 32-bit Assembly Language to Delphi and on 29th September I had presented a simple example of linking 64-bit ASM to Delphi. For today, I have ported  the 32-bit ASM to 64-bit to link it to Delphi XE2. Also, today we are going to link a 32-bit COFF file with Delphi XE2, this appears a waste of time but is not. Click HERE!

Linking Assembly Language with Delphi Part I

Linking Assembly Language with 32-bit Delphi Compilers (let’s do it for Delphi 5, some people still use it. But the same procedure applies to all releases, although with XE2 you have another alternative). Click HERE

Assembly Language Tutorial in Portuguese

I had this Assembly Language Tutorial in Portuguese, it is very dated but last time I posted it in the internet some people enjoyed. Click HERE

Mixing .Net and Assembly Language in a standalone 32-bit exe

Building a standalone .Net .exe file containing native code is possible with the “It Just Works” facility, but when you want to mix C# and Assembly language some more work is involved. We show the way to do it in 32-bit (We have done it for 64-bit a few days ago). Click HERE.


A while ago I ported some x86 ASM to x64, just to practice 64-bit ASM programming. Not only because the program itself is fun but mostly because it may help others learning 64-bit ASM I decided to leave it here. Credits of the original are mentioned. Click here

Mixing .Net and Assembly Language in a standalone 64-bit exe

Building a standalone 64-bit .Net .exe file that is statically linked with an Assembly Language compiled object file is something I would say “is not possible” a few months ago. Actually, it is possible, because .Net has all sorts of tricks to create the illusion that it is what it is not not. Let’s read my page about “Mixing .Net and Assembly Language in a standalone 64-bit exe” and see how this can be done and in 64-bit (of course can be done in 32-bit as well)

Using C object files with Delphi XE2

Now, that Delphi XE2 can link with COFF .obj files, let’s run Visual Studio 2010, compile some ‘C’ and see how to handle that within Delphi. Click HERE to read!