Lines Matching refs:opr
237 struct operand *opr; in print_operands() local
251 opr = &operands[ctx->op->fields[field] - 1]; in print_operands()
253 if (opr->hint & OH_SILENT) { in print_operands()
262 operand = (ctx->instr >> opr->shift) & ((1 << opr->bits) - 1); in print_operands()
264 if (opr->hint & OH_ADDR) { in print_operands()
265 if ((operand & (1 << (opr->bits - 1))) != 0) { in print_operands()
266 operand = operand - (1 << opr->bits); in print_operands()
294 else if (opr->hint & OH_REG) { in print_operands()
296 (opr->field == O_rA) && (ctx->op->hint & H_RA0_IS_0)) { in print_operands()
308 else if (opr->hint & OH_SPR) { in print_operands()
312 else if (opr->hint & OH_TBR) { in print_operands()
316 else if (opr->hint & OH_LITERAL) { in print_operands()
317 switch (opr->field) { in print_operands()
337 else if (opr->hint & OH_OFFSET) { in print_operands()
378 struct operand *opr; in get_operand_value() local
392 opr = &operands[op->fields[i] - 1]; in get_operand_value()
395 *value = (instr >> opr->shift) & ((1 << opr->bits) - 1); in get_operand_value()