Advertisement
Terrys

askisi 2.7

Apr 21st, 2015
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. .text
  2. .globl __start
  3. __start:
  4.  
  5. la $t0,f0p
  6. lw $t1,0($t0)
  7. mult $t1,$t2
  8. mflo $t3
  9. la $t0,lom
  10. sw $t3,0($t0)
  11. mfhi $t3
  12. la $t0
  13. sw $t3,0($t0)
  14. multu $t1,$t2
  15. mflo $t3
  16. la $t0,lom
  17. sw $t3,0($t0)
  18. mfhi $t3
  19. la $t0,lomu
  20. sw $t3,0($t0)
  21. mfhi $t3
  22. la $t3,$t0
  23. sw $t3,0($t0)
  24. li $v0,10
  25. syscall
  26.  
  27. .data
  28. f0p: .word 0x2
  29. s0p: .word 0xffffffff
  30. lom: .word 0
  31. him: .word 0
  32. lomu: .word 0
  33. himu: .word 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement