|  x86-64 TUTORIAL: ABI

This is a sort of tutorial on programming in assembly using the x86-64 or amd64 instruction set valid for the AMD64 and EM64T processors.

It is advisable you have a copy of the instruction manuals at your disposal. It is assumed that you are familiar with the x86-64 instruction set. Familiarity takes time and it comes with practice, and of course reading the instruction manuals. But you have to start somewhere. This tutorial is for application programming.

From the ABI the general purpose registers are used to pass arguments to the functions.

As of this writing, in 2006, the code has been tested with the YASM assembler on a GNU/Linux operating system called Slamd64 which is a 64-bit Slackware clone, with the Linux kernel version 2.6.

2020 Update: We have updated the code and compile instructions to run on Debian-based systems from 2020. Slamd64 is now a dead project.

 |  x86-64 TUTORIAL: ABI
Donate DOGECOIN to DBevjMg3fd8C5oxZbV8sFpAffo6Tas1s8Q. DBevjMg3fd8C5oxZbV8sFpAffo6Tas1s8Q Donate BITCOIN to 19hrWWw1dPvBE1wVPfCnH8LqnUwsT3NsHW. 19hrWWw1dPvBE1wVPfCnH8LqnUwsT3NsHW
As an Amazon Associate I earn from qualifying purchases.