b_cond.xml */
| 1812 | |
| 1813 | /* b_cond.xml */ |
| 1814 | int B_cond(context *ctx, Instruction *instr) |
| 1815 | { |
| 1816 | int rc = DECODE_STATUS_UNMATCHED; |
| 1817 | /* class iclass_br19 */ |
| 1818 | /* 0101010|o1=0|imm19=xxxxxxxxxxxxxxxxxxx|o0=0|cond=xxxx */ |
| 1819 | if((INSWORD & 0xFF000010)==0x54000000) { |
| 1820 | decode_fields32(ENC_B_ONLY_CONDBRANCH, ctx, instr); |
| 1821 | ctx->offset = SignExtend((ctx->imm19<<2),21); |
| 1822 | ctx->condition = ctx->cond; |
| 1823 | OK(ENC_B_ONLY_CONDBRANCH); |
| 1824 | } |
| 1825 | return rc; |
| 1826 | } |
| 1827 | |
| 1828 | /* b_uncond.xml */ |
| 1829 | int B_uncond(context *ctx, Instruction *instr) |
no test coverage detected