All pastes #963760 Raw Edit

Dragoa

public text v1 · immutable
#963760 ·published 2008-03-30 20:09 UTC
rendered paste body
sub $30, $5, $30 ;Variable Declaration here
add $5, $30, $0
lis $3
.word 1
sw $3, 0($5)
lis $3
.word 6
sw $3, -4($5)


sw $4, -4($30) ;Initial Add function, this is where my variable is lost
lis $4
.word 4
sub $30, $30, $4
lw $3, 0($5)
add $4, $0, $3
lw $3, 0($5)
add $3, $4, $3
lis $4
.word 4
add $30, $30, $4
lw $4, -4($30)
add $2, $0, $3


lw $3, -4($5) ;Calling the variable that is lost.
add $2, $0, $3
add $3,$0,$2


add $30, $5, $0  ;Clean up stuff.
lis $5
.word 12
add $30, $30, $5
lw $5, -4($30)
jr $31