Tag Archives: assembler

assembler

Programming with FASM – ComboBox Control – part 002.

In the last FASM tutorial I add a simple ComboBox without items. In this tutorial I will add two items and one button to show the output of selected ComboBox. The source code is similar with the source code from the last tutorial. I commented the source code rows for a good image of development… Read More »

Programming with FASM – divide / multiply in Linux – part 009 .

Today I will show you how to use the MMX instructions. SSE stands for Streaming SIMD Extensions and uses 128-bit registers: XMM0 XMM1 XMM2 XMM3 XMM4 XMM5 XMM6 XMM7 The capabilities of the XMM registers are: 2 64-bit floating points (double precision) 2 64-bit integers 4 32-bit floating points (single-precision) 4 32-bit integers 8 16-bit… Read More »

Programming with FASM – read / display character in Linux – part 008 .

I haven’t worked with FASM, Linux, and system functions for a while. Here is an extremely simple example for beginners with output on my nickname: mythcat.

The result is … as follows:

Programming with FASM – the format ELF executable – part 007 .

The tutorial for today is about debugging and FASM with fdbg tool. For debugging and testing you can use any debugger, but you can use the You can here all version for these operating system: GUI for Windows x64, Windows x64, Linux x64 and UEFI x64. I used the Linux x64 version for this tutorial.… Read More »

Programming with FASM – the format ELF executable – part 006 .

Let’s read from a text file named new_file.txt with an assembler program.

The source code is easy to understand. This source code shows you how you can use a macro for print. The base of this source code use INT 0x80 with a rax register for many functions like open, read and close. I… Read More »

Programming with FASM – the format ELF executable – part 005 .

Let’s write into a text file named new_file.txt with an assembler program. First, you need to create this text file using the command touch.

The assembler FASM let us to write in the file using the INT 80 and some functions used with rax, rbx, rcx, rdx registers. For example the seek function of… Read More »

Programming with FASM – the format ELF executable – part 004 .

The tutorial for today is a simple one. I will show you how to delete the file created with in the last tutorial. Let’s create a new file named delete_file.fasm and used to delete the new_file.txt.

In the file delete_file.fasm I used the int 0x80 and mov rax, 10. The kernel is accessed using… Read More »