# This is our second program
# Here are some comments
.text
.globl __start
__start:
lw $t0, A
lw $t1, B
lw $t2, C
add $t3, $t1, $t2
add $t3, $t3, $t0
li $t4, 3
div $t3, $t3, $t4
# beq $t3, $0, end
move $a0, $t3
li $v0, 1
syscall
# end:
li $v0, 10
syscall
# These are memory locations with labels that look like variables
.data
A: .word 8
B: .word 12
C: .word 20