Enum alure::instr::PutOp [−][src]
pub enum PutOp { ClrA(RegA, Reg32), ClrF(RegF, Reg32), ClrR(RegR, Reg32), PutA(RegA, Reg32, Number), PutF(RegF, Reg32, Number), PutR(RegR, Reg32, Number), PutIfA(RegA, Reg32, Number), PutIfR(RegR, Reg32, Number), }
Expand description
Instructions setting register values
Variants
Cleans a value of A
register (sets it to undefined state)
Cleans a value of F
register (sets it to undefined state)
Cleans a value of R
register (sets it to undefined state)
Unconditionally assigns a value to A
register
Unconditionally assigns a value to F
register
Unconditionally assigns a value to R
register
Conditionally assigns a value to A
register if the register is in uninitialized state
Conditionally assigns a value to R
register if the register is in uninitialized state
Trait Implementations
Returns number of bytes which instruction and its argument occupies
Returns range of instruction btecodes covered by a set of operations
Returns byte representing instruction code (without its arguments)
fn write_args<W>(&self, writer: &mut W) -> Result<(), EncodeError> where
W: Write,
EncodeError: From<<W as Write>::Error>,
[src]
fn write_args<W>(&self, writer: &mut W) -> Result<(), EncodeError> where
W: Write,
EncodeError: From<<W as Write>::Error>,
[src]Writes instruction arguments as bytecode, omitting instruction code byte
fn read<R>(reader: &mut R) -> Result<Self, DecodeError> where
R: Read,
DecodeError: From<<R as Read>::Error>,
[src]
fn read<R>(reader: &mut R) -> Result<Self, DecodeError> where
R: Read,
DecodeError: From<<R as Read>::Error>,
[src]Reads the instruction from bytecode
fn write<W>(&self, writer: &mut W) -> Result<(), EncodeError> where
W: Write,
EncodeError: From<<W as Write>::Error>,
[src]
fn write<W>(&self, writer: &mut W) -> Result<(), EncodeError> where
W: Write,
EncodeError: From<<W as Write>::Error>,
[src]Writes the instruction as bytecode
Auto Trait Implementations
impl RefUnwindSafe for PutOp
impl UnwindSafe for PutOp
Blanket Implementations
Mutably borrows from an owned value. Read more