- Editor: any one that works on Unix / Unix-like systems!
- VCS: Git
- System: Linux distro, MacOS, BSD variant, etc.
This repo contains sample programs written in GNU Assembly. The list below gives brief information on the code and its usage. Here, I assume that the reader is new to using GNU make
with GNU assembly code.
test1.s
: Tells whether a hardcoded 32-bit integer is greater than 10 or not.write_hex.s
: Prints a hardcoded word value in hex representation.dec_to_hex.s
: Gets a 4 digit decimal number and then prints the hex representation.
- The command to build a single, one file program is
make ./bin/<source file name>.out
. - The command to clear out old executables is
make clean
.