Example2
# Program to add together list of 9 numbers.
main: # MAIN procedure Entrance
subu $sp, 40 #\ Push the stack
sw $ra, 36($sp) # \ Save return address
sw $s2, 28($sp) # > Entry Housekeeping
sw $s1, 24($sp) # / save registers on stack
move $v0, $0 #/ initialize exit code to 0
la $s0, list # \ Initialization