Simple function definition and used to print a null terminated string, uses some comparison and pushes the registers to the stack