block0: .count words f1 b0end # length of block 0 .word 0x00800000 # block starting address .address 0x00800000 # sets the address of the next word # to be this value. f1: .word 1 f2: .word 2 f3: .word 3 ... b0end: .word 100 block1: .count words l1 b1end # length of block .word 0x00400004 # address in which to put the start of the block .address 0x00400004 # sets the address of the next word to be this # value. labels will resolve to offset off this # address. l1: jal l5 addiu $ra $ra 8 l2: jal l2 addiu $ra $ra -8 l3: jal l4 addiu $ra $ra -16 l4: addiu $v0 $v0 0xFFFFF addiu $v0 $v0 l4 l5: j l6 addiu $v0 $zero 1 l6: jr $ra b1end: addiu $v0 $zero 1