| 788 | void JAL( std::string& output ) { output += "jal\t"; jump_decode(output);} |
| 789 | |
| 790 | void BEQ( std::string& output ) |
| 791 | { |
| 792 | int rs = DECODE_RS; |
| 793 | int rt = DECODE_RT; |
| 794 | |
| 795 | if (disSimplify && rs == rt) |
| 796 | disBranch(output, "b"); |
| 797 | else if (disSimplify && rs == 0 && rt != 0) |
| 798 | disBranch(output, "beqz", rt); |
| 799 | else if (disSimplify && rs != 0 && rt == 0) |
| 800 | disBranch(output, "beqz", rs); |
| 801 | else |
| 802 | disBranch(output, "beq", rs, rt); |
| 803 | } |
| 804 | |
| 805 | void BNE( std::string& output ) |
| 806 | { |
nothing calls this directly
no test coverage detected