bl.xml */
| 1440 | |
| 1441 | /* bl.xml */ |
| 1442 | int BL(context *ctx, Instruction *instr) |
| 1443 | { |
| 1444 | int rc = DECODE_STATUS_UNMATCHED; |
| 1445 | /* class iclass_br26 */ |
| 1446 | /* op=1|00101|imm26=xxxxxxxxxxxxxxxxxxxxxxxxxx */ |
| 1447 | if((INSWORD & 0xFC000000)==0x94000000) { |
| 1448 | decode_fields32(ENC_BL_ONLY_BRANCH_IMM, ctx, instr); |
| 1449 | ctx->branch_type = (ctx->op==1) ? BranchType_DIRCALL : BranchType_DIR; |
| 1450 | ctx->offset = SignExtend((ctx->imm26<<2),28); |
| 1451 | OK(ENC_BL_ONLY_BRANCH_IMM); |
| 1452 | } |
| 1453 | return rc; |
| 1454 | } |
| 1455 | |
| 1456 | /* blr.xml */ |
| 1457 | int BLR(context *ctx, Instruction *instr) |
no test coverage detected