Advertisement
glank

song ops

Nov 11th, 2019
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.28 KB | None | 0 0
  1. legend:
  2. imm: 16-bit immediate
  3. hi byte range 0x00..0x0F
  4. lo byte range 0x00..0x3C, 0xC4..0xFF
  5. rs: $v0, $t2, $s2, $k0
  6. rd: $zero, $at
  7. psa: multiple of 4 in range 0..31
  8. nsa: 3..31
  9. sa: psa or nsa
  10.  
  11. possible but not listed:
  12. syscall, break, sync, cache, tge, tgeu, tlt, tltu, teq, tne
  13.  
  14. 0057xxx0 sll rd, $s7, psa
  15. 0057xxx2 srl rd, $s7, psa
  16. 0057xxx3 sra rd, $s7, psa
  17. 0057xxx4 sllv rd, $s7, rs
  18. 0057xxx6 srlv rd, $s7, rs
  19. 0057xxx7 srav rd, $s7, rs
  20. 0057xxx8 jr rs
  21. 0057xxx9 jalr rd, rs
  22. 0057xxx0 mfhi rd
  23. 0057xxx1 mthi rs
  24. 0057xxx2 mflo rd
  25. 0057xxx3 mtlo rs
  26. 0057xxx4 dsllv rd, $s7, rs
  27. 0057xxx6 dsrlv rd, $s7, rs
  28. 0057xxx7 dsrav rd, $s7, rs
  29. 0057xxx8 mult rs, $s7
  30. 0057xxx9 multu rs, $s7
  31. 0057xxxA div rs, $s7
  32. 0057xxxB divu rs, $s7
  33. 0057xxxC dmult rs, $s7
  34. 0057xxxD dmultu rs, $s7
  35. 0057xxxE ddiv rs, $s7
  36. 0057xxxF ddivu rs, $s7
  37. 0057xxx0 add rd, rs, $s7
  38. 0057xxx1 addu rd, rs, $s7
  39. 0057xxx2 sub rd, rs, $s7
  40. 0057xxx3 subu rd, rs, $s7
  41. 0057xxx4 and rd, rs, $s7
  42. 0057xxx5 or rd, rs, $s7
  43. 0057xxx6 xor rd, rs, $s7
  44. 0057xxx7 nor rd, rs, $s7
  45. 0057xxxA slt rd, rs, $s7
  46. 0057xxxB sltu rd, rs, $s7
  47. 0057xxxC dadd rd, rs, $s7
  48. 0057xxxD daddu rd, rs, $s7
  49. 0057xxxE dsub rd, rs, $s7
  50. 0057xxxF dsubu rd, rs, $s7
  51. 0057xxx8 dsll rd, $s7, sa
  52. 0057xxxA dsrl rd, $s7, sa
  53. 0057xxxB dsra rd, $s7, sa
  54. 0057xxxC dsll32 rd, $s7, sa
  55. 0057xxxE dsrl32 rd, $s7, nsa
  56. 0057xxxF dsra32 rd, $s7, nsa
  57. 0857xxxx j 0x815C0000 + 4 * imm
  58. 0957xxxx j 0x855C0000 + 4 * imm
  59. 0A57xxxx j 0x895C0000 + 4 * imm
  60. 0B57xxxx j 0x8D5C0000 + 4 * imm
  61. 0C57xxxx jal 0x815C0000 + 4 * imm
  62. 0D57xxxx jal 0x855C0000 + 4 * imm
  63. 0E57xxxx jal 0x895C0000 + 4 * imm
  64. 0F57xxxx jal 0x8D5C0000 + 4 * imm
  65. 1x57xxxx beq rs, $s7, imm
  66. 1x57xxxx bne rs, $s7, imm
  67. 1x57xxxx blez rs, imm
  68. 1x57xxxx bgtz rs, imm
  69. 2x57xxxx addi $s7, rs, imm
  70. 2x57xxxx addiu $s7, rs, imm
  71. 2x57xxxx slti $s7, rs, imm
  72. 2x57xxxx sltiu $s7, rs, imm
  73. 3x57xxxx andi $s7, rs, imm
  74. 3x57xxxx ori $s7, rs, imm
  75. 3x57xxxx xori $s7, rs, imm
  76. 3x57xxxx lui $s7, imm
  77. 44570xxx cfc1 $s7, $fcr0
  78. 5x57xxxx beql rs, $s7, imm
  79. 5x57xxxx bnel rs, $s7, imm
  80. 5x57xxxx blezl rs, imm
  81. 5x57xxxx bgtzl rs, imm
  82. 6x57xxxx daddi $s7, rs, imm
  83. 6x57xxxx daddiu $s7, rs, imm
  84. 6x57xxxx ldl $s7, imm(rs)
  85. 6x57xxxx ldr $s7, imm(rs)
  86. 8x57xxxx lb $s7, imm(rs)
  87. 8x57xxxx lh $s7, imm(rs)
  88. 8x57xxxx lwl $s7, imm(rs)
  89. 8x57xxxx lw $s7, imm(rs)
  90. 9x57xxxx lbu $s7, imm(rs)
  91. 9x57xxxx lhu $s7, imm(rs)
  92. 9x57xxxx lwr $s7, imm(rs)
  93. 9x57xxxx lwu $s7, imm(rs)
  94. Ax57xxxx sb $s7, imm(rs)
  95. Ax57xxxx sh $s7, imm(rs)
  96. A857xxxx swl $s7, imm(rs)
  97. AC57xxxx sw $s7, imm(rs)
  98. B057xxxx sdl $s7, imm(rs)
  99. B457xxxx sdr $s7, imm(rs)
  100. B857xxxx swr $s7, imm(rs)
  101. C057xxxx ll $s7, imm(rs)
  102. C457xxxx lwc1 $f23, imm(rs)
  103. D057xxxx lld $s7, imm(rs)
  104. D457xxxx ldc1 $f23, imm(rs)
  105. DC57xxxx ld $s7, imm(rs)
  106. E057xxxx sc $s7, imm(rs)
  107. E457xxxx swc1 $f23, imm(rs)
  108. F057xxxx scd $s7, imm(rs)
  109. F457xxxx sdc1 $f23, imm(rs)
  110. FC57xxxx sd $s7, imm(rs)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement