| 820 | void ADDI( std::string& output ) { _sap("addi\t%s, %s, 0x%04X") GPR_REG[DECODE_RT], GPR_REG[DECODE_RS], DECODE_IMMED);} |
| 821 | |
| 822 | void ADDIU( std::string& output ) |
| 823 | { |
| 824 | int rt = DECODE_RT; |
| 825 | int rs = DECODE_RS; |
| 826 | s16 imm = DECODE_IMMED; |
| 827 | |
| 828 | if (disSimplify && rs == 0) |
| 829 | ssappendf(output, "li\t%s, %s",GPR_REG[rt],signedImmediate(imm)); |
| 830 | else |
| 831 | ssappendf(output, "addiu\t%s, %s",disDestSource(rt,rs),signedImmediate(imm)); |
| 832 | } |
| 833 | |
| 834 | void SLTI( std::string& output ) { _sap("slti\t%s, 0x%04X") disDestSource(DECODE_RT, DECODE_RS), DECODE_IMMED); } |
| 835 | void SLTIU( std::string& output ) { _sap("sltiu\t%s, 0x%04X") disDestSource(DECODE_RT, DECODE_RS), DECODE_IMMED); } |
nothing calls this directly
no test coverage detected