lbu t0,(a0) nop ;load delay slot (only necessary on MIPS I hardware) beqz t0,StringIsEmpty nop ;branch delay slot ;your code for what happens when the string is not empty, goes here