loop: lw $8, 4($29) # Load word from memory address contained in $29+4 into $8 sub $2, $4, $5 # Subtract $5 from $4 and store the result in $2 and $9, $10, $11 # Perform bitwise AND on $10 and $11, store result in $9 or $16, $17, $18 # Perform bitwise OR on $17 and $18, store result in $16 beq $2, $3, target_label # If $2 and $3 are equal, branch to target_label