number 1 is answerd, code is below, need help with restprobelms

compare:
addi $sp, $sp, –4
sw $ra, 0($sp)
add $s0, $a0, $0
add $s1, $a1, $0
jal sub
addi $t1, $0, 1
beq $v0, $0, exit
slt $t2, $0, $v0
bne $t2, $0, exit
addi $t1, $0, $0
exit:
add $v0, $t1, $0
lw $ra, 0($sp)
addi $sp, $sp, 4
jr $ra
sub:
sub $v0, $a0, $a1
jr $ra

1) Rewrite the following delayed branch MIPS snippet to
PayPal Gateway not configured
PayPal Gateway not configured