Skip to main content

decode

Function decode 

Source
pub fn decode(code: EncodedInst, pc: Pc) -> Result<Inst, Malformed>
Expand description

Reads one encoded instruction back.

pc is where it sits, and only a branch reads it: the displacement in the payload is relative to the instruction after this one.