NASM Coding: Basics

The Linux kernel (= the main component of the Linux OS) keeps a list of all the files currently open by every running program. This list is called the file table, and its indexes are file descriptors (

fd
s), each uniquely representing a file.

In the scope of our study of NASM coding, the only files that we will interact with are standard input (=

stdin
= keyboard) and standard output (=
stdout
= screen), even though NASM has the tools for reading from and writing to other files (e.g., text files stored on the computer.)