Skip to main content

opnd_size_in_bytes

Function opnd_size_in_bytes 

Source
pub unsafe extern "C" fn opnd_size_in_bytes(size: opnd_size_t) -> uint
Expand description

Assumes \p size is an OPSZ_ constant, typically obtained from opnd_get_size() or reg_get_size(). Returns the number of bytes the OPSZ_ constant represents. If OPSZ_ is a variable-sized size, returns the default size, which may or may not match the actual size decided up on at encoding time (that final size depends on other operands).