Enum juicebox_asm::Reg8

source ·
#[repr(u8)]
pub enum Reg8 {
Show 20 variants al = 0, cl = 1, dl = 2, bl = 3, spl = 4, bpl = 5, sil = 6, dil = 7, r8l = 8, r9l = 9, r10l = 10, r11l = 11, r12l = 12, r13l = 13, r14l = 14, r15l = 15, ah = 16, ch = 17, dh = 18, bh = 19,
}
Expand description

Definition of 8 bit registers.

Variants§

§

al = 0

§

cl = 1

§

dl = 2

§

bl = 3

§

spl = 4

§

bpl = 5

§

sil = 6

§

dil = 7

§

r8l = 8

§

r9l = 9

§

r10l = 10

§

r11l = 11

§

r12l = 12

§

r13l = 13

§

r14l = 14

§

r15l = 15

§

ah = 16

§

ch = 17

§

dh = 18

§

bh = 19

Trait Implementations§

source§

impl Clone for Reg8

source§

fn clone(&self) -> Reg8

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Mov<MemOp, Reg8> for Asm

source§

fn mov(&mut self, op1: MemOp, op2: Reg8)

Emit an move instruction.
source§

impl Mov<Reg8, Imm8> for Asm

source§

fn mov(&mut self, op1: Reg8, op2: Imm8)

Emit an move instruction.
source§

impl Mov<Reg8, MemOp> for Asm

source§

fn mov(&mut self, op1: Reg8, op2: MemOp)

Emit an move instruction.
source§

impl Mov<Reg8, Reg8> for Asm

source§

fn mov(&mut self, op1: Reg8, op2: Reg8)

Emit an move instruction.
source§

impl Copy for Reg8

Auto Trait Implementations§

§

impl RefUnwindSafe for Reg8

§

impl Send for Reg8

§

impl Sync for Reg8

§

impl Unpin for Reg8

§

impl UnwindSafe for Reg8

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.