Enum csx64::common::OPCode[][src]

#[repr(u8)]pub enum OPCode {
    NOP,
    HLT,
    SYSCALL,
    LEA,
    MOV,
    CMOVcc,
    SETcc,
    XCHG,
    REGOP,
    AND,
    OR,
    XOR,
    TEST,
    BITWISE,
    ADD,
    SUB,
    CMP,
    CMPZ,
    MULDIV,
    JMP,
    Jcc,
    LOOPcc,
    CALL,
    RET,
    PUSH,
    POP,
    INC,
    DEC,
    NEG,
    NOT,
    STRING,
    FINIT,
    FLD,
    FADD,
    FSUB,
    FSUBR,
    DEBUG,
}

The supported op codes for the execution engine.

Nearly all of these have sub-encodings and therefore actually encode many more instructions.

Variants

NOP
HLT
SYSCALL
LEA
MOV
CMOVcc
SETcc
XCHG
REGOP
AND
OR
XOR
TEST
BITWISE
ADD
SUB
CMP
CMPZ
MULDIV
JMP
Jcc
LOOPcc
CALL
RET
PUSH
POP
INC
DEC
NEG
NOT
STRING
FINIT
FLD
FADD
FSUB
FSUBR
DEBUG

Trait Implementations

impl Clone for OPCode[src]

impl Copy for OPCode[src]

impl Debug for OPCode[src]

impl FromPrimitive for OPCode[src]

Auto Trait Implementations

impl RefUnwindSafe for OPCode

impl Send for OPCode

impl Sync for OPCode

impl Unpin for OPCode

impl UnwindSafe for OPCode

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Az for T[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedAs for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> OverflowingAs for T[src]

impl<T> SaturatingAs for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnwrappedAs for T[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WrappingAs for T[src]