Skip to main content

opnd_create_reg_partial

Function opnd_create_reg_partial 

Source
pub unsafe extern "C" fn opnd_create_reg_partial(
    r: reg_id_t,
    subsize: opnd_size_t,
) -> opnd_t
Expand description

Returns a register operand corresponding to a part of the register represented by the DR_REG_ constant \p r.

On x86, \p r must be a multimedia (mmx, xmm, ymm, zmm) register. For partial general-purpose registers on x86, use the appropriate sub-register name with opnd_create_reg() instead.