Lines Matching refs:bytes
19 insn_byte_t bytes[4];
36 p->bytes[n] = v;
45 insn_byte_t bytes[4];
63 p->bytes[n] = v;
71 * prefixes.bytes[3]: last prefix
76 * opcode.bytes[0]: opcode1
77 * opcode.bytes[1]: opcode2
78 * opcode.bytes[2]: opcode3
185 if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */
187 else if (insn->vex_prefix.nbytes == 3) /* 3 bytes VEX */
188 return X86_VEX3_M(insn->vex_prefix.bytes[1]);
190 return X86_EVEX_M(insn->vex_prefix.bytes[1]);
195 if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */
196 return X86_VEX_P(insn->vex_prefix.bytes[1]);
198 return X86_VEX_P(insn->vex_prefix.bytes[2]);
207 if (insn->prefixes.bytes[3])
208 return inat_get_last_prefix_id(insn->prefixes.bytes[3]);
249 * Iterate prefix bytes of given @insn. Each prefix byte is stored in @prefix
256 for (idx = 0; idx < ARRAY_SIZE(insn->prefixes.bytes) && (prefix = insn->prefixes.bytes[idx]) != 0; idx++)
271 return insn->opcode.bytes[0] == POP_SS_OPCODE ||
272 (insn->opcode.bytes[0] == MOV_SREG_OPCODE &&
273 X86_MODRM_REG(insn->modrm.bytes[0]) == 2);