.text .globl __start # This is a comment # Note that QtSpim may need you to use the label "main" instead of __start # Experiment with your version # Sometimes loading the exception handler -- and then turning it off helps __start: lw $t0, A lw $t1, B lw $t2, C mult $t1, $t2 mflo $t3 mul $t3, $t3, $t0 beqz $t3, end ## beqz $t3, 12 move $a0, $t3 li $v0, 1 syscall end: li $v0, 10 syscall .data A: .word 8 B: .word 12 C: .word 10