Lines Matching refs:op
199 if ((ctx.op = find_opcode (ctx.instr)) == 0) { in disppc()
209 (ctx.op->hfunc == 0) || in disppc()
210 ((*ctx.op->hfunc) (&ctx) == false)) { in disppc()
211 sprintf (&ctx.data[ctx.datalen], "%-7s ", ctx.op->name); in disppc()
247 for (field = 0; ctx->op->fields[field] != 0; ++field) { in print_operands()
248 if (ctx->op->fields[field] > n_operands) { in print_operands()
252 opr = &operands[ctx->op->fields[field] - 1]; in print_operands()
270 if (ctx->op->hint & H_RELATIVE) in print_operands()
297 (opr->field == O_rA) && (ctx->op->hint & H_RA0_IS_0)) { in print_operands()
375 int get_operand_value (struct opcode *op, unsigned long instr, in get_operand_value() argument
388 for (i = 0; op->fields[i] != 0; ++i) { in get_operand_value()
389 if (op->fields[i] != field) { in get_operand_value()
393 opr = &operands[op->fields[i] - 1]; in get_operand_value()
674 if (get_operand_value(ctx->op, ctx->instr, O_BO, &bo) == false) in handle_bc()
677 if (get_operand_value(ctx->op, ctx->instr, O_BI, &bi) == false) in handle_bc()
681 ctx->op = &blt; in handle_bc()
682 sprintf (&ctx->data[ctx->datalen], "%-7s ", ctx->op->name); in handle_bc()
687 ctx->op = =⃥ in handle_bc()
688 sprintf (&ctx->data[ctx->datalen], "%-7s ", ctx->op->name); in handle_bc()
693 ctx->op = &bdnz; in handle_bc()
694 sprintf (&ctx->data[ctx->datalen], "%-7s ", ctx->op->name); in handle_bc()
1070 struct opcode *op = 0; /* opcode structure for 'instr' */ in find_next_address() local
1086 if ((op = find_opcode (instr)) == (struct opcode *) 0) { in find_next_address()
1095 switch (op->opcode) { in find_next_address()
1100 if (!get_operand_value (op, instr, O_BD, &addr) || in find_next_address()
1101 !get_operand_value (op, instr, O_BO, &bo) || in find_next_address()
1102 !get_operand_value (op, instr, O_BI, &bi) || in find_next_address()
1103 !get_operand_value (op, instr, O_AA, &aa) || in find_next_address()
1104 !get_operand_value (op, instr, O_LK, &lk)) in find_next_address()
1118 if (!get_operand_value (op, instr, O_LI, &addr) || in find_next_address()
1119 !get_operand_value (op, instr, O_AA, &aa) || in find_next_address()
1120 !get_operand_value (op, instr, O_LK, &lk)) in find_next_address()
1132 if (!get_operand_value (op, instr, O_BO, &bo) || in find_next_address()
1133 !get_operand_value (op, instr, O_BI, &bi) || in find_next_address()
1134 !get_operand_value (op, instr, O_LK, &lk)) in find_next_address()
1145 if (!get_operand_value (op, instr, O_BO, &bo) || in find_next_address()
1146 !get_operand_value (op, instr, O_BI, &bi) || in find_next_address()
1147 !get_operand_value (op, instr, O_LK, &lk)) in find_next_address()