b_uncond.xml */
| 1827 | |
| 1828 | /* b_uncond.xml */ |
| 1829 | int B_uncond(context *ctx, Instruction *instr) |
| 1830 | { |
| 1831 | int rc = DECODE_STATUS_UNMATCHED; |
| 1832 | /* class iclass_br26 */ |
| 1833 | /* op=0|00101|imm26=xxxxxxxxxxxxxxxxxxxxxxxxxx */ |
| 1834 | if((INSWORD & 0xFC000000)==0x14000000) { |
| 1835 | decode_fields32(ENC_B_ONLY_BRANCH_IMM, ctx, instr); |
| 1836 | ctx->branch_type = (ctx->op==1) ? BranchType_DIRCALL : BranchType_DIR; |
| 1837 | ctx->offset = SignExtend((ctx->imm26<<2),28); |
| 1838 | OK(ENC_B_ONLY_BRANCH_IMM); |
| 1839 | } |
| 1840 | return rc; |
| 1841 | } |
| 1842 | |
| 1843 | /* cas.xml */ |
| 1844 | int CAS(context *ctx, Instruction *instr) |
no test coverage detected