        .data
newline:
        .asciiz "\n"

        .text
# $a0: first integer to print
# $a1: second integer to print        
print_ints:
        # print first integer
        li $v0, 1
        syscall

        # print newline
        la $a0, newline
        li $v0, 4
        syscall
        
        # print second integer
        move $a0, $a1
        li $v0, 1
        syscall

        # return to caller
        jr $ra

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

        # exit
        li $v0, 10,
        syscall
        
