RosettaCodeData/Task/Empty-string/MIPS-Assembly/empty-string-2.mips
2023-07-01 13:44:08 -04:00

6 lines
227 B
Text

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