        .text
# $a0: first integer
# $a1: second integer
# $v0: result of first integer + second integer
add_ints:
        # add them together, and return to the caller
        add $v0, $a0, $a1
        jr $ra

main:
        # call add_ints with 3 and 7
        li $a0, 3
        li $a1, 7
        jal add_ints

        # print out the result
        move $a0, $v0
        li $v0, 1
        syscall
        
        # exit
        li $v0, 10,
        syscall
        
