pulley_interpreter::encode

Function br_if

Source
pub fn br_if<E>(
    into: &mut E,
    cond: impl Into<XReg>,
    offset: impl Into<PcRelOffset>,
)
where E: Extend<u8>,
Available on crate feature encode only.
Expand description

Conditionally transfer control to the given PC offset if cond contains a non-zero value.