cs_mode

Mode type

Values

ValueMeaning
CS_MODE_LITTLE_ENDIAN0

< little-endian mode (default mode)

CS_MODE_ARM0

< 32-bit ARM

CS_MODE_161 << 1

< 16-bit mode (X86)

CS_MODE_321 << 2

< 32-bit mode (X86)

CS_MODE_641 << 3

< 64-bit mode (X86, PPC)

CS_MODE_THUMB1 << 4

< ARM's Thumb mode, including Thumb-2

CS_MODE_MCLASS1 << 5

< ARM's Cortex-M series

CS_MODE_V81 << 6

< ARMv8 A32 encodings for ARM

CS_MODE_MICRO1 << 4

< MicroMips mode (MIPS)

CS_MODE_MIPS31 << 5

< Mips III ISA

CS_MODE_MIPS32R61 << 6

< Mips32r6 ISA

CS_MODE_MIPS21 << 7

< Mips II ISA

CS_MODE_V91 << 4

< SparcV9 mode (Sparc)

CS_MODE_QPX1 << 4

< Quad Processing eXtensions mode (PPC)

CS_MODE_M68K_0001 << 1

< M68K 68000 mode

CS_MODE_M68K_0101 << 2

< M68K 68010 mode

CS_MODE_M68K_0201 << 3

< M68K 68020 mode

CS_MODE_M68K_0301 << 4

< M68K 68030 mode

CS_MODE_M68K_0401 << 5

< M68K 68040 mode

CS_MODE_M68K_0601 << 6

< M68K 68060 mode

CS_MODE_BIG_ENDIAN1 << 31

< big-endian mode

CS_MODE_MIPS32CS_MODE_32

< Mips32 ISA (Mips)

CS_MODE_MIPS64CS_MODE_64

< Mips64 ISA (Mips)

CS_MODE_M680X_63011 << 1

< M680X Hitachi 6301,6303 mode

CS_MODE_M680X_63091 << 2

< M680X Hitachi 6309 mode

CS_MODE_M680X_68001 << 3

< M680X Motorola 6800,6802 mode

CS_MODE_M680X_68011 << 4

< M680X Motorola 6801,6803 mode

CS_MODE_M680X_68051 << 5

< M680X Motorola/Freescale 6805 mode

CS_MODE_M680X_68081 << 6

< M680X Motorola/Freescale/NXP 68HC08 mode

CS_MODE_M680X_68091 << 7

< M680X Motorola 6809 mode

CS_MODE_M680X_68111 << 8

< M680X Motorola/Freescale/NXP 68HC11 mode

CS_MODE_M680X_CPU121 << 9

< M680X Motorola/Freescale/NXP CPU12

CS_MODE_M680X_HCS081 << 10

< used on M68HC12/HCS12

Meta