Enum capstone::Mode[][src]

pub enum Mode {
Show 30 variants Arm, Mode16, Mode32, Mode64, Thumb, Mips2, Mips3, Mips32R6, Mips32, Mips64, V9, Qpx, M68k000, M68k010, M68k020, M68k030, M68k040, M680x6301, M680x6309, M680x6800, M680x6801, M680x6805, M680x6808, M680x6809, M680x6811, M680xCpu12, M680xHcs08, RiscV32, RiscV64, Default,
}
Expand description

Disassembler modes

Variants

Arm

32-bit ARM

Mode16

16-bit mode (X86)

Mode32

32-bit mode (X86)

Mode64

64-bit mode (X86, PPC)

Thumb

ARM’s Thumb mode, including Thumb-2

Mips2

Mips II ISA

Mips3

Mips III ISA

Mips32R6

Mips32r6 ISA

Mips32

Mips32 ISA (Mips)

Mips64

Mips64 ISA (Mips)

V9

SparcV9 mode (Sparc)

Qpx

Quad Processing eXtensions mode (PPC)

M68k000

M68K 68000 mode

M68k010

M68K 68010 mode

M68k020

M68K 68020 mode

M68k030

M68K 68030 mode

M68k040

M68K 68040 mode

M680x6301

M680X Hitachi 6301,6303 mode

M680x6309

M680X Hitachi 6309 mode

M680x6800

M680X Motorola 6800,6802 mode

M680x6801

M680X Motorola 6801,6803 mode

M680x6805

M680X Motorola/Freescale 6805 mode

M680x6808

M680X Motorola/Freescale/NXP 68HC08 mode

M680x6809

M680X Motorola 6809 mode

M680x6811

M680X Motorola/Freescale/NXP 68HC11 mode

M680xCpu12

M680X Motorola/Freescale/NXP CPU12

M680xHcs08

M680X Freescale/NXP HCS08 mode

RiscV32

RISC-V 32-bit mode

RiscV64

RISC-V 64-bit mode

Default

Default mode for little-endian

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Slice of available variants

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Feeds this value into the given Hasher. Read more

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

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

recently added

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

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.