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)… Continue Reading Programming with FASM – divide / multiply in Linux – part 009 .

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:

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… Continue Reading Programming with FASM – the format ELF executable – part 007 .

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… Continue Reading Programming with FASM – the format ELF executable – part 006 .

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… Continue Reading Programming with FASM – the format ELF executable – part 005 .

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.… Continue Reading Programming with FASM – the format ELF executable – part 004 .

If you want to learn assembly programming for Windows O.S. or Linux with the Intel C.P.U. then you need the FASM tool and this manual. Today I will show you how to create a file using my Fedora 31 Linux distro and FASM tool. The name of this file will… Continue Reading Programming with FASM – the format ELF executable – part 003 .

About the Executable and Linkable Format is a common standard file format for executable files, object code, shared libraries, and core dumps, see the Wikipedia webpage. I used the last version 1.73.16 of flat assembler for Linux to test this format. Even I used fasm.x64 and uses 64 the files… Continue Reading Programming with FASM – the format ELF executable – part 002 .