pub trait InstSet: FromStr + Display where
    <Self as FromStr>::Err: Display
{ fn as_func_ptr(&self) -> ExecFunc; fn from_func_ptr(_: ExecFunc) -> Result<Self, <Self as FromStr>::Err>; }
Expand description

Trait for instruction sets

Implement this for custom instruction sets. Manual implementation is tedious, so use inst_set or extend macros if possible

Required Methods

Implementors

The core instruction set

Basic instructions only

The extended instruction set

Core, plus debugging, raw input, function call and return, and no-op instructions