Lines Matching refs:op
198 if ((ctx.op = find_opcode (ctx.instr)) == 0) { in disppc()
208 (ctx.op->hfunc == 0) || in disppc()
209 ((*ctx.op->hfunc) (&ctx) == false)) { in disppc()
210 sprintf (&ctx.data[ctx.datalen], "%-7s ", ctx.op->name); in disppc()
246 for (field = 0; ctx->op->fields[field] != 0; ++field) { in print_operands()
247 if (ctx->op->fields[field] > n_operands) { in print_operands()
251 opr = &operands[ctx->op->fields[field] - 1]; in print_operands()
269 if (ctx->op->hint & H_RELATIVE) in print_operands()
296 (opr->field == O_rA) && (ctx->op->hint & H_RA0_IS_0)) { in print_operands()
374 int get_operand_value (struct opcode *op, unsigned long instr, in get_operand_value() argument
387 for (i = 0; op->fields[i] != 0; ++i) { in get_operand_value()
388 if (op->fields[i] != field) { in get_operand_value()
392 opr = &operands[op->fields[i] - 1]; in get_operand_value()
673 if (get_operand_value(ctx->op, ctx->instr, O_BO, &bo) == false) in handle_bc()
676 if (get_operand_value(ctx->op, ctx->instr, O_BI, &bi) == false) in handle_bc()
680 ctx->op = &blt; in handle_bc()
681 sprintf (&ctx->data[ctx->datalen], "%-7s ", ctx->op->name); in handle_bc()
686 ctx->op = =⃥ in handle_bc()
687 sprintf (&ctx->data[ctx->datalen], "%-7s ", ctx->op->name); in handle_bc()
692 ctx->op = &bdnz; in handle_bc()
693 sprintf (&ctx->data[ctx->datalen], "%-7s ", ctx->op->name); in handle_bc()
1069 struct opcode *op = 0; /* opcode structure for 'instr' */ in find_next_address() local
1085 if ((op = find_opcode (instr)) == (struct opcode *) 0) { in find_next_address()
1094 switch (op->opcode) { in find_next_address()
1099 if (!get_operand_value (op, instr, O_BD, &addr) || in find_next_address()
1100 !get_operand_value (op, instr, O_BO, &bo) || in find_next_address()
1101 !get_operand_value (op, instr, O_BI, &bi) || in find_next_address()
1102 !get_operand_value (op, instr, O_AA, &aa) || in find_next_address()
1103 !get_operand_value (op, instr, O_LK, &lk)) in find_next_address()
1117 if (!get_operand_value (op, instr, O_LI, &addr) || in find_next_address()
1118 !get_operand_value (op, instr, O_AA, &aa) || in find_next_address()
1119 !get_operand_value (op, instr, O_LK, &lk)) in find_next_address()
1131 if (!get_operand_value (op, instr, O_BO, &bo) || in find_next_address()
1132 !get_operand_value (op, instr, O_BI, &bi) || in find_next_address()
1133 !get_operand_value (op, instr, O_LK, &lk)) in find_next_address()
1144 if (!get_operand_value (op, instr, O_BO, &bo) || in find_next_address()
1145 !get_operand_value (op, instr, O_BI, &bi) || in find_next_address()
1146 !get_operand_value (op, instr, O_LK, &lk)) in find_next_address()