Enum lief::assembly::x86::registers::Reg

pub enum Reg {
Show 390 variants NoRegister, AH, AL, AX, BH, BL, BP, BPH, BPL, BX, CH, CL, CS, CX, DF, DH, DI, DIH, DIL, DL, DS, DX, EAX, EBP, EBX, ECX, EDI, EDX, EFLAGS, EIP, EIZ, ES, ESI, ESP, FPCW, FPSW, FS, FS_BASE, GS, GS_BASE, HAX, HBP, HBX, HCX, HDI, HDX, HIP, HSI, HSP, IP, MXCSR, RAX, RBP, RBX, RCX, RDI, RDX, RFLAGS, RIP, RIZ, RSI, RSP, SI, SIH, SIL, SP, SPH, SPL, SS, SSP, _EFLAGS, CR0, CR1, CR2, CR3, CR4, CR5, CR6, CR7, CR8, CR9, CR10, CR11, CR12, CR13, CR14, CR15, DR0, DR1, DR2, DR3, DR4, DR5, DR6, DR7, DR8, DR9, DR10, DR11, DR12, DR13, DR14, DR15, FP0, FP1, FP2, FP3, FP4, FP5, FP6, FP7, MM0, MM1, MM2, MM3, MM4, MM5, MM6, MM7, R8, R9, R10, R11, R12, R13, R14, R15, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, XMM0, XMM1, XMM2, XMM3, XMM4, XMM5, XMM6, XMM7, XMM8, XMM9, XMM10, XMM11, XMM12, XMM13, XMM14, XMM15, R8B, R9B, R10B, R11B, R12B, R13B, R14B, R15B, R8BH, R9BH, R10BH, R11BH, R12BH, R13BH, R14BH, R15BH, R8D, R9D, R10D, R11D, R12D, R13D, R14D, R15D, R8W, R9W, R10W, R11W, R12W, R13W, R14W, R15W, R8WH, R9WH, R10WH, R11WH, R12WH, R13WH, R14WH, R15WH, YMM0, YMM1, YMM2, YMM3, YMM4, YMM5, YMM6, YMM7, YMM8, YMM9, YMM10, YMM11, YMM12, YMM13, YMM14, YMM15, K0, K1, K2, K3, K4, K5, K6, K7, XMM16, XMM17, XMM18, XMM19, XMM20, XMM21, XMM22, XMM23, XMM24, XMM25, XMM26, XMM27, XMM28, XMM29, XMM30, XMM31, YMM16, YMM17, YMM18, YMM19, YMM20, YMM21, YMM22, YMM23, YMM24, YMM25, YMM26, YMM27, YMM28, YMM29, YMM30, YMM31, ZMM0, ZMM1, ZMM2, ZMM3, ZMM4, ZMM5, ZMM6, ZMM7, ZMM8, ZMM9, ZMM10, ZMM11, ZMM12, ZMM13, ZMM14, ZMM15, ZMM16, ZMM17, ZMM18, ZMM19, ZMM20, ZMM21, ZMM22, ZMM23, ZMM24, ZMM25, ZMM26, ZMM27, ZMM28, ZMM29, ZMM30, ZMM31, K0_K1, K2_K3, K4_K5, K6_K7, TMMCFG, TMM0, TMM1, TMM2, TMM3, TMM4, TMM5, TMM6, TMM7, R16, R17, R18, R19, R20, R21, R22, R23, R24, R25, R26, R27, R28, R29, R30, R31, R16B, R17B, R18B, R19B, R20B, R21B, R22B, R23B, R24B, R25B, R26B, R27B, R28B, R29B, R30B, R31B, R16BH, R17BH, R18BH, R19BH, R20BH, R21BH, R22BH, R23BH, R24BH, R25BH, R26BH, R27BH, R28BH, R29BH, R30BH, R31BH, R16D, R17D, R18D, R19D, R20D, R21D, R22D, R23D, R24D, R25D, R26D, R27D, R28D, R29D, R30D, R31D, R16W, R17W, R18W, R19W, R20W, R21W, R22W, R23W, R24W, R25W, R26W, R27W, R28W, R29W, R30W, R31W, R16WH, R17WH, R18WH, R19WH, R20WH, R21WH, R22WH, R23WH, R24WH, R25WH, R26WH, R27WH, R28WH, R29WH, R30WH, R31WH, NUM_TARGET_REGS, UNKNOWN(u64),
}

Variants§

§

NoRegister

§

AH

§

AL

§

AX

§

BH

§

BL

§

BP

§

BPH

§

BPL

§

BX

§

CH

§

CL

§

CS

§

CX

§

DF

§

DH

§

DI

§

DIH

§

DIL

§

DL

§

DS

§

DX

§

EAX

§

EBP

§

EBX

§

ECX

§

EDI

§

EDX

§

EFLAGS

§

EIP

§

EIZ

§

ES

§

ESI

§

ESP

§

FPCW

§

FPSW

§

FS

§

FS_BASE

§

GS

§

GS_BASE

§

HAX

§

HBP

§

HBX

§

HCX

§

HDI

§

HDX

§

HIP

§

HSI

§

HSP

§

IP

§

MXCSR

§

RAX

§

RBP

§

RBX

§

RCX

§

RDI

§

RDX

§

RFLAGS

§

RIP

§

RIZ

§

RSI

§

RSP

§

SI

§

SIH

§

SIL

§

SP

§

SPH

§

SPL

§

SS

§

SSP

§

_EFLAGS

§

CR0

§

CR1

§

CR2

§

CR3

§

CR4

§

CR5

§

CR6

§

CR7

§

CR8

§

CR9

§

CR10

§

CR11

§

CR12

§

CR13

§

CR14

§

CR15

§

DR0

§

DR1

§

DR2

§

DR3

§

DR4

§

DR5

§

DR6

§

DR7

§

DR8

§

DR9

§

DR10

§

DR11

§

DR12

§

DR13

§

DR14

§

DR15

§

FP0

§

FP1

§

FP2

§

FP3

§

FP4

§

FP5

§

FP6

§

FP7

§

MM0

§

MM1

§

MM2

§

MM3

§

MM4

§

MM5

§

MM6

§

MM7

§

R8

§

R9

§

R10

§

R11

§

R12

§

R13

§

R14

§

R15

§

ST0

§

ST1

§

ST2

§

ST3

§

ST4

§

ST5

§

ST6

§

ST7

§

XMM0

§

XMM1

§

XMM2

§

XMM3

§

XMM4

§

XMM5

§

XMM6

§

XMM7

§

XMM8

§

XMM9

§

XMM10

§

XMM11

§

XMM12

§

XMM13

§

XMM14

§

XMM15

§

R8B

§

R9B

§

R10B

§

R11B

§

R12B

§

R13B

§

R14B

§

R15B

§

R8BH

§

R9BH

§

R10BH

§

R11BH

§

R12BH

§

R13BH

§

R14BH

§

R15BH

§

R8D

§

R9D

§

R10D

§

R11D

§

R12D

§

R13D

§

R14D

§

R15D

§

R8W

§

R9W

§

R10W

§

R11W

§

R12W

§

R13W

§

R14W

§

R15W

§

R8WH

§

R9WH

§

R10WH

§

R11WH

§

R12WH

§

R13WH

§

R14WH

§

R15WH

§

YMM0

§

YMM1

§

YMM2

§

YMM3

§

YMM4

§

YMM5

§

YMM6

§

YMM7

§

YMM8

§

YMM9

§

YMM10

§

YMM11

§

YMM12

§

YMM13

§

YMM14

§

YMM15

§

K0

§

K1

§

K2

§

K3

§

K4

§

K5

§

K6

§

K7

§

XMM16

§

XMM17

§

XMM18

§

XMM19

§

XMM20

§

XMM21

§

XMM22

§

XMM23

§

XMM24

§

XMM25

§

XMM26

§

XMM27

§

XMM28

§

XMM29

§

XMM30

§

XMM31

§

YMM16

§

YMM17

§

YMM18

§

YMM19

§

YMM20

§

YMM21

§

YMM22

§

YMM23

§

YMM24

§

YMM25

§

YMM26

§

YMM27

§

YMM28

§

YMM29

§

YMM30

§

YMM31

§

ZMM0

§

ZMM1

§

ZMM2

§

ZMM3

§

ZMM4

§

ZMM5

§

ZMM6

§

ZMM7

§

ZMM8

§

ZMM9

§

ZMM10

§

ZMM11

§

ZMM12

§

ZMM13

§

ZMM14

§

ZMM15

§

ZMM16

§

ZMM17

§

ZMM18

§

ZMM19

§

ZMM20

§

ZMM21

§

ZMM22

§

ZMM23

§

ZMM24

§

ZMM25

§

ZMM26

§

ZMM27

§

ZMM28

§

ZMM29

§

ZMM30

§

ZMM31

§

K0_K1

§

K2_K3

§

K4_K5

§

K6_K7

§

TMMCFG

§

TMM0

§

TMM1

§

TMM2

§

TMM3

§

TMM4

§

TMM5

§

TMM6

§

TMM7

§

R16

§

R17

§

R18

§

R19

§

R20

§

R21

§

R22

§

R23

§

R24

§

R25

§

R26

§

R27

§

R28

§

R29

§

R30

§

R31

§

R16B

§

R17B

§

R18B

§

R19B

§

R20B

§

R21B

§

R22B

§

R23B

§

R24B

§

R25B

§

R26B

§

R27B

§

R28B

§

R29B

§

R30B

§

R31B

§

R16BH

§

R17BH

§

R18BH

§

R19BH

§

R20BH

§

R21BH

§

R22BH

§

R23BH

§

R24BH

§

R25BH

§

R26BH

§

R27BH

§

R28BH

§

R29BH

§

R30BH

§

R31BH

§

R16D

§

R17D

§

R18D

§

R19D

§

R20D

§

R21D

§

R22D

§

R23D

§

R24D

§

R25D

§

R26D

§

R27D

§

R28D

§

R29D

§

R30D

§

R31D

§

R16W

§

R17W

§

R18W

§

R19W

§

R20W

§

R21W

§

R22W

§

R23W

§

R24W

§

R25W

§

R26W

§

R27W

§

R28W

§

R29W

§

R30W

§

R31W

§

R16WH

§

R17WH

§

R18WH

§

R19WH

§

R20WH

§

R21WH

§

R22WH

§

R23WH

§

R24WH

§

R25WH

§

R26WH

§

R27WH

§

R28WH

§

R29WH

§

R30WH

§

R31WH

§

NUM_TARGET_REGS

§

UNKNOWN(u64)

Trait Implementations§

§

impl Clone for Reg

§

fn clone(&self) -> Reg

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
§

impl Debug for Reg

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl From<u64> for Reg

§

fn from(value: u64) -> Self

Converts to this type from the input type.
§

impl Hash for Reg

§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

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

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

impl Ord for Reg

§

fn cmp(&self, other: &Reg) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
§

impl PartialEq<Reg> for Reg

§

fn eq(&self, other: &Reg) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl PartialOrd<Reg> for Reg

§

fn partial_cmp(&self, other: &Reg) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

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

fn le(&self, other: &Rhs) -> bool

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

fn gt(&self, other: &Rhs) -> bool

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

fn ge(&self, other: &Rhs) -> bool

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

impl Copy for Reg

§

impl Eq for Reg

§

impl StructuralEq for Reg

§

impl StructuralPartialEq for Reg

Auto Trait Implementations§

§

impl RefUnwindSafe for Reg

§

impl Send for Reg

§

impl Sync for Reg

§

impl Unpin for Reg

§

impl UnwindSafe for Reg

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere 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 Twhere 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 Twhere 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.