[][src]Enum assembler::mnemonic_parameter_types::registers::Register64Bit

#[repr(u8)]
pub enum Register64Bit { RAX, RCX, RDX, RBX, RSP, RBP, RSI, RDI, R8, R9, R10, R11, R12, R13, R14, R15, }

Register 0 (RAX) is defined on this enumeration but optimal encodings of it in combination with mnemonics exist and should be preferred as they increase code density.

Registers 8 to 15 when encoded decrease code density (ie they are less efficiently encoded than registers 1 to 7).

Variants

RAX

Register 0.

RCX

Register 1.

The fourth function argument in the System V Application Binary Interface for x86-64.

RDX

Register 2.

The third function argument in the System V Application Binary Interface for x86-64.

RBX

Register 3.

RSP

Register 4.

RBP

Register 5.

RSI

Register 6.

The 'source' operand in string instructions.

The second function argument in the System V Application Binary Interface for x86-64.

RDI

Register 7.

The 'destination' operand in string instructions.

The first function argument in the System V Application Binary Interface for x86-64.

R8

Register 8.

The fifth function argument in the System V Application Binary Interface for x86-64.

R9

Register 9.

The sixth function argument in the System V Application Binary Interface for x86-64.

R10

Register 10.

R11

Register 11.

R12

Register 12.

R13

Register 13.

R14

Register 14.

R15

Register 15.

Trait Implementations

impl GeneralPurposeRegister for Register64Bit[src]

impl Register for Register64Bit[src]

impl PartialOrd<Register64Bit> for Register64Bit[src]

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Copy for Register64Bit[src]

impl PartialEq<Register64Bit> for Register64Bit[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Default for Register64Bit[src]

impl Clone for Register64Bit[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Ord for Register64Bit[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Returns max if self is greater than max, and min if self is less than min. Otherwise this will return self. Panics if min > max. Read more

impl Eq for Register64Bit[src]

impl Debug for Register64Bit[src]

impl Hash for Register64Bit[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.