Trait alure::instr::InstructionSet [−][src]
pub trait InstructionSet: Bytecode + Display + Debug { fn exec(self, regs: &mut Registers, site: LibSite) -> ExecStep; }
Expand description
Trait for instructions
Required methods
fn exec(self, regs: &mut Registers, site: LibSite) -> ExecStep
[src]
fn exec(self, regs: &mut Registers, site: LibSite) -> ExecStep
[src]Executes given instruction taking all registers as input and output. The method is provided with the current code position which may be used by the instruction for constructing call stack.
Returns whether further execution should be stopped.
Implementors
impl InstructionSet for ArithmeticOp
[src]
impl InstructionSet for ArithmeticOp
[src]impl InstructionSet for BitwiseOp
[src]
impl InstructionSet for BitwiseOp
[src]impl InstructionSet for BytesOp
[src]
impl InstructionSet for BytesOp
[src]impl InstructionSet for ControlFlowOp
[src]
impl InstructionSet for ControlFlowOp
[src]impl InstructionSet for Curve25519Op
[src]
impl InstructionSet for Curve25519Op
[src]impl InstructionSet for DigestOp
[src]
impl InstructionSet for DigestOp
[src]impl InstructionSet for Secp256k1Op
[src]
impl InstructionSet for Secp256k1Op
[src]impl<Extension> InstructionSet for Instr<Extension> where
Extension: InstructionSet,
[src]
impl<Extension> InstructionSet for Instr<Extension> where
Extension: InstructionSet,
[src]