This example shows the most the most elementary technique possible to output a string.
Two files are available for download.
pure-x86-example.asm
run.sh