Labels in MIPS
MIPS allows text tags
a name for a place to branch to
Under the covers, the assembler converts the text tag into an address
loop: add $t0, $t0, $t0 #
bne $t0, $t1, loop #
sw $t2, 0($t3) #
Previous slide
Next slide
Back to first slide
View graphic version