The .asm programs use the macros from reading from stdin and writing to stdout predefined of SASM.
-
Introduction to assembly language programming for pentium and RISC processors, Sivarama Dandamudi
-
Assembly Language Step-By-Step - Programming with Linux, Jeff Duntemann