Skip to main content

read_register_value_coerce

Function read_register_value_coerce 

Source
pub fn read_register_value_coerce(
    value_type: RegisterType,
    coerce: bool,
) -> Result<Option<RegisterValue>>
Expand description

Read a register value, optionally coercing from a compatible larger type. Perl: readRegisterValue($self, $type, $sign, $coerce) Coercion rules (from Perl %RegisterCoercionTypes): Number <- Dimension, Glue (extract raw i64) Dimension <- Glue (extract skip as Dimension) MuDimension <- MuGlue (extract skip as MuDimension)