Category Archives: Assembler

fasm about format ELF executable 3 – part 002 .

If you read fasm-about-format-elf-executable-3 tutorial then you will have some errors. It’s just a simple example to show you how to deal with .inc files in your project. You need to have and files to run fasm with proj.asm. This tow files will come with date and functions for your project. First the […]

fasm about format ELF executable 3 – part 001 .

The Executable and Linking Format named ELF providing developers with a set of binary interface definitions that extend across multiple operating environments. This is one simple example using fasm and ELF executable 3 .

Let’s run it:

Using format ELF executable 3 I can create segment readable executable and use it. Also this […]

Display one message using assembly code under linux os.

The source code it’s very simple. The message it’s show using int 80 and eax with function 4. We need the message and length of this message. See next the source code and comments:

Programming with FASM – first steps

The FASM is a self-assembling open-source 80×86 assembler for DOS, Windows and Linux. It supports all 8086-80486/Pentium instructions with MMX, SSE, SSE2 and with more features. FASM contains many programming options and features. The source code can be written in different ways because of control directives, macros and management of resources. FASM, by default uses […]

Simple way to use DEBUG.

In this tutorial I will show you one simple way to write source code for debug command. Working with assembler is provides the opportunity of knowing more the operation of your PC. Open a file with notepad , named YN.txt and fill with the source code below.

After that , save the file and […]