Lines Matching refs:modrm
310 * Populates @insn->modrm and updates @insn->next_byte to point past the
312 * (prefixes and opcode(s)). No effect if @insn->modrm.got is already 1.
320 struct insn_field *modrm = &insn->modrm;
324 if (modrm->got)
335 modrm->value = mod;
336 modrm->nbytes = 1;
352 modrm->got = 1;
369 struct insn_field *modrm = &insn->modrm;
375 if (!modrm->got) {
384 return (modrm->nbytes && (modrm->value & 0xc7) == 0x5);
400 insn_byte_t modrm;
406 if (!insn->modrm.got) {
412 if (insn->modrm.nbytes) {
413 modrm = (insn_byte_t)insn->modrm.value;
415 X86_MODRM_MOD(modrm) != 3 && X86_MODRM_RM(modrm) == 4) {
455 if (insn->modrm.nbytes) {
457 * Interpreting the modrm byte:
473 mod = X86_MODRM_MOD(insn->modrm.value);
474 rm = X86_MODRM_RM(insn->modrm.value);