emit_andi
emit_andi(RV_REG_T1, rd, 0xff, ctx);
emit_andi(RV_REG_T1, rd, 0xff, ctx);
emit_andi(RV_REG_T1, rd, 0xff, ctx);
emit_andi(RV_REG_T1, rd, 0xff, ctx);
emit_andi(RV_REG_T1, rd, 0xff, ctx);
emit_andi(RV_REG_T1, rd, 0xff, ctx);
emit_andi(RV_REG_T1, rd, 0xff, ctx);
emit_andi(RV_REG_T1, rd, 0xff, ctx);
emit_andi(rd, rd, imm, ctx);
emit_andi(RV_REG_T1, rd, imm, ctx);
emit_andi(r_A, PKT_TYPE_MAX, r_A);