Advertisement
KDOXG

stack_usage-mips

Dec 10th, 2018
431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1.  
  2. #-----------------Stack Pointer - Como usar
  3. #Organizar:
  4. #addi $sp $sp -4
  5. #sw $ra 0($sp)
  6. #addi $sp $sp -4
  7. #sw $s0 0($sp)
  8.  
  9. #~digitar funcoes aqui~
  10.  
  11. #lw $s0 0($sp)
  12. #addi $sp $sp 4
  13. #lw $ra 0($sp)
  14. #addi $sp $sp 4
  15. #jr $ra
  16. #nop
  17.  
  18. #----------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement