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

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 be new_file.txt.
The assembly program will use INT 0x08 to create the file.

The program also set the file permissions in the rcx register.
Let’s see some octall permissions:

The file type is …

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.