pub fn encode_instruction(
instr: &Instruction,
arch: Arch,
) -> Result<EncodedInstr, AsmError>Expand description
ยงErrors
Returns Err(AsmError) if the instruction mnemonic is unknown, the
operand combination is invalid, or the target architecture is not
supported.