# MIPS Lab Bonus Assignment # using GUI .data message: .asciiz " enter a number " mult4: .asciiz " the number is a multiple of four " mult6: .asciiz " the number is a multiple of six " notmult: .asciiz " the number is not a multiple of four neither six " .text li $s0,4 li $s1,6 li $v0, 51 la $a0, message syscall move $t0, $a0 move $t1,$a0 div $t0,$s0 mfhi $t5 beqz $t5, l1 div $t1,$s1 mfhi $t6 beqz $t6,l2 li $v0,55 la $a0,notmult syscall li $v0,10 syscall l2: li $v0, 55 la $a0, mult6 syscall li $v0,10 syscall l1: li $v0,55 la $a0,mult4 syscall li $v0,10 syscall