ArchitectureEncoder

Trait ArchitectureEncoder 

Source
pub trait ArchitectureEncoder<I: Instruction> {
    // Required method
    fn encode(&self, opcode: u32, operands: &[u32]) -> I;
}
Expand description

Architecture-specific encoding functions

Required Methods§

Source

fn encode(&self, opcode: u32, operands: &[u32]) -> I

Encode an instruction with specific opcode and operands

Implementors§