Advertisement
Terrys

askisi 2.5

Apr 21st, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. .text
  2. .globl __start
  3. __start:
  4.  
  5. #$t0 -->Ai
  6. #$t1 -->Bi
  7. #$t2 -->Si
  8. addi $t0,0xffffffff
  9. addi $t1,0xffffffff
  10. addu $t2,$t1,$t0
  11. srl $t0,$t0,31
  12. srl $t1,$t1,31
  13. srl $t2,$t2,31
  14. li $t3,1
  15. xor $t2,$t2,$t3
  16. and $t4,$t2,$t1
  17. and $t5,$t2,$t0
  18. and $t6,$t0,$t1
  19. or $t7,$t4,$t5
  20. or $t7,$t7,$t6
  21. li $v0,10
  22. syscall
  23.  
  24. .data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement