To convert from Assembly to object code, run the following:
as [FILENAME].s -o [FILENAME].o
From there, to compile to a machine code executable, run the following:
gcc -o [FILENAME].bin [FILENAME].o -nostdlib -static
Now you have an executable binary file (which contains a .bin extension to easily filter out compiled binaries in a .gitignore; it can be removed whenever).
Since I develop on Linux and prefer the source, dest
order, I use the AT&T syntax of x86_64, as using Intel's (in my opinion) counterintuitive dest, source
ordering just seems like a fatal caveat in an otherwise fine Assembly dialect.