Function rhasm::decode_instruction

source ยท
pub fn decode_instruction(
    encoded_instruction: &str,
) -> Result<String, Box<dyn Error>>
Expand description

Decode an encoded instruction into a human readable instruction. Labels and variables are lost in the encoding process. Thus the decoded instruction will not be the same as the original instruction. But will still assemble back into the same machine code.