LATEST POSTS - page 6


x86-64 TUTORIAL: CALLING CONVENTIONS

SYSTEM CALLS

System calls are made using the syscall instruction on an x86-64 version of GNU/Linux as opposed to using int 0x80 on an x86 version of GNU/Linux. All programs are in long mode. Depending on the type of GNU/Linux system you use, the list of system calls can be found in /usr/include/asm/unistd_64.h for Debian-based systems or in /usr/include/asm-x86_64/unistd.h for Slackware, etc.

Read More
Posted on by Vikas N. Kumar.

x86-64 TUTORIAL: ASSEMBLERS

2020 UPDATE

In 2006, there was only YASM that supported both the 32-bit x86 and the 64-bit x86-64 or amd64 instruction set. NASM only supported the 32-bit x86 instruction set. Today, in 2020, NASM also suppports the 64-bit x86-64 instruction set. Both YASM and NASM are under active development, with YASM being fully cross-platform and working with Visual Studio 2019 as of this update in August 2020. Wherever possible, we have made sure that the programs run under both YASM and NASM.

Read More
Posted on by Vikas N. Kumar.

x86-64 TUTORIAL: ABI

ABI is an abbreviation for Application Binary Interface. Every processor’s instruction set has an ABI. This allows the developer to write code in the correct format that the processor is designed to accept. The x86-64 ABI document can be found at the following links:

Read More
Posted on by Vikas N. Kumar.

x86-64 TUTORIAL: INTRODUCTION

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.

Read More
Posted on by Vikas N. Kumar.

Pages: Newer  |  2  |  3  |  4  |  5  |  6  | 
SUPPORT THIS SITE
Donate DOGECOIN to DBevjMg3fd8C5oxZbV8sFpAffo6Tas1s8Q. DBevjMg3fd8C5oxZbV8sFpAffo6Tas1s8Q Donate BITCOIN to 19hrWWw1dPvBE1wVPfCnH8LqnUwsT3NsHW. 19hrWWw1dPvBE1wVPfCnH8LqnUwsT3NsHW
As an Amazon Associate I earn from qualifying purchases.