| 836 | void ANDI( std::string& output ) { _sap("andi\t%s, 0x%04X") disDestSource(DECODE_RT, DECODE_RS), DECODE_IMMED);} |
| 837 | |
| 838 | void ORI( std::string& output ) |
| 839 | { |
| 840 | int rt = DECODE_RT; |
| 841 | int rs = DECODE_RS; |
| 842 | |
| 843 | u32 unsignedImm = (u16) DECODE_IMMED; |
| 844 | |
| 845 | if (disSimplify && rs == 0) |
| 846 | ssappendf(output, "li\t%s, 0x%X",GPR_REG[rt],unsignedImm); |
| 847 | else |
| 848 | ssappendf(output, "ori\t%s, 0x%X",disDestSource(DECODE_RT, DECODE_RS),unsignedImm); |
| 849 | } |
| 850 | |
| 851 | void XORI( std::string& output ) { _sap("xori\t%s, 0x%04X") disDestSource(DECODE_RT, DECODE_RS), DECODE_IMMED); } |
| 852 | void LUI( std::string& output ) { _sap("lui\t%s, 0x%04X") GPR_REG[DECODE_RT], DECODE_IMMED); } |
nothing calls this directly
no test coverage detected