Lines Matching refs:op

156 ud_syn_print_imm(struct ud* u, const struct ud_operand *op)  in ud_syn_print_imm()  argument
159 if (op->_oprcode == OP_sI && op->size != u->opr_mode) { in ud_syn_print_imm()
160 if (op->size == 8) { in ud_syn_print_imm()
161 v = (int64_t)op->lval.sbyte; in ud_syn_print_imm()
163 UD_ASSERT(op->size == 32); in ud_syn_print_imm()
164 v = (int64_t)op->lval.sdword; in ud_syn_print_imm()
170 switch (op->size) { in ud_syn_print_imm()
171 case 8 : v = op->lval.ubyte; break; in ud_syn_print_imm()
172 case 16: v = op->lval.uword; break; in ud_syn_print_imm()
173 case 32: v = op->lval.udword; break; in ud_syn_print_imm()
174 case 64: v = op->lval.uqword; break; in ud_syn_print_imm()
197 ud_syn_print_mem_disp(struct ud* u, const struct ud_operand *op, int sign) in ud_syn_print_mem_disp() argument
199 UD_ASSERT(op->offset != 0); in ud_syn_print_mem_disp()
200 if (op->base == UD_NONE && op->index == UD_NONE) { in ud_syn_print_mem_disp()
202 UD_ASSERT(op->scale == UD_NONE && op->offset != 8); in ud_syn_print_mem_disp()
204 switch (op->offset) { in ud_syn_print_mem_disp()
205 case 16: v = op->lval.uword; break; in ud_syn_print_mem_disp()
206 case 32: v = op->lval.udword; break; in ud_syn_print_mem_disp()
207 case 64: v = op->lval.uqword; break; in ud_syn_print_mem_disp()
227 UD_ASSERT(op->offset != 64); in ud_syn_print_mem_disp()
228 switch (op->offset) { in ud_syn_print_mem_disp()
229 case 8 : v = op->lval.sbyte; break; in ud_syn_print_mem_disp()
230 case 16: v = op->lval.sword; break; in ud_syn_print_mem_disp()
231 case 32: v = op->lval.sdword; break; in ud_syn_print_mem_disp()