# Name: # Login: # TA: #sprintf! #$a0 has the pointer to the buffer to be printed to #$a1 has the pointer to the format string #$a2 and $a3 have (possibly) the first two substitutions for the format string #the rest are on the stack #return the number of characters (ommitting the trailing '\0') put in the buffer .text sprintf: jr $ra #this sprintf implementation rocks!