pub fn encode(inst: &Inst, pc: Pc) -> Result<EncodedInst, TooWide>Expand description
Encodes one instruction.
pc is where the instruction sits, and only a branch reads it: ADR 0041
makes Inst::Jump and Inst::BranchFalse carry to - (pc + 1), so
that a target is a displacement rather than an absolute address.