Assembly Language

Extended Memory Tutorial in Portuguese

Last year, I posted an old x86 Assembly Language Tutorial in Portuguese. I know it is very old but I also know that many schools start from there. So it comes as no surprise to notice that everyday people bothers to download the big .pdf files and the 16-bit ASM samples.

Within the same line I decided to post now the Extended Memory Tutorial (in Portuguese too), originally published in the same defunct Spooler Magazine in 1993 :). Click Here!

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)

More about Assembly Language and Delphi (64-bit and 32-bit)

Things are like this. We stay a long time without posting then comes a fever and we post two times in a row. It happen yesterday and today we are here again to write about a related subject, How to use Assembly Language with Delphi 64-bit (and 32-bit as well)

64-bit Basm with Delphi XE2

After a long time without posting in this blog, I decided it was about time.

I was trying the new Delphi XE2, to see if there was anything really useful and worthwhile on it. To my surprise, Delphi XE2 is the product to change the route to dead that Delphi was following.

I and thousands of others always thought that was not worthwhile to upgrade from Delphi 5 or Delphi 7, unless we prefer bloated, slower and more buggy programs.

Well, things appear to be changing. Delphi XE2 is excellent value, particularly if you were waiting for the long promised 64-bit compiler.

Not that Delphi XE2 is bug free, not that its documentation is good (it is terribly bad), not that it has a good price (it is extremely expensive, namely for Europeans. Embarcadero, Microsoft and many other American companies suck for the price differentiation – and I am not talking about VAT).

Anyway, because Delphi XE2 brings somethig new, I rolled up my sleeves and wrote an article about BASM for 32-bit and 64-bit Delphi. Read it!