pub trait EcalHandler: Clonewhere
Self: Sized,{
const INC_PC: bool = true;
// Required method
fn ecal<M, S, Tx>(
vm: &mut Interpreter<M, S, Tx, Self>,
a: RegId,
b: RegId,
c: RegId,
d: RegId,
) -> SimpleResult<()>
where M: Memory;
}
Expand description
ECAL opcode handler
Provided Associated Constants§
Required Methods§
sourcefn ecal<M, S, Tx>(
vm: &mut Interpreter<M, S, Tx, Self>,
a: RegId,
b: RegId,
c: RegId,
d: RegId,
) -> SimpleResult<()>where
M: Memory,
fn ecal<M, S, Tx>(
vm: &mut Interpreter<M, S, Tx, Self>,
a: RegId,
b: RegId,
c: RegId,
d: RegId,
) -> SimpleResult<()>where
M: Memory,
ECAL opcode handler
Object Safety§
This trait is not object safe.
Implementors§
impl EcalHandler for NotSupportedEcal
Default ECAL opcode handler function, which just errors immediately.
impl EcalHandler for PredicateErrorEcal
ECAL is not allowed in predicates