Example2 (cont.)
lw $s2, 28($sp) # \ Closing Housekeeping
lw $s3, 32($sp) # / restore registers
lw $ra, 36($sp) # / load return address
addu $sp, 40 # / Pop the stack
.end main # end of program
.data # Start of data segment
list: .word 35, 16, 42, 19, 55, 91, 24, 61, 53
msg: .asciiz "The sum is "