| 803 | } |
| 804 | |
| 805 | void BNE( std::string& output ) |
| 806 | { |
| 807 | int rs = DECODE_RS; |
| 808 | int rt = DECODE_RT; |
| 809 | |
| 810 | if (disSimplify && rs == 0 && rt != 0) |
| 811 | disBranch(output, "bnez", rt); |
| 812 | else if (disSimplify && rs != 0 && rt == 0) |
| 813 | disBranch(output, "bnez", rs); |
| 814 | else |
| 815 | disBranch(output, "bne", rs, rt); |
| 816 | } |
| 817 | |
| 818 | void BLEZ( std::string& output ) { disBranch(output, "blez", DECODE_RS); } |
| 819 | void BGTZ( std::string& output ) { disBranch(output, "bgtz", DECODE_RS); } |
nothing calls this directly
no test coverage detected