Syntax

Assembly syntax styles.

Used with CS_OPT_SYNTAX option to configure output syntax.

Entries

Link copied to clipboard

Default syntax (architecture-dependent)

Link copied to clipboard

Intel syntax (X86)

Link copied to clipboard

AT&T syntax (X86)

Link copied to clipboard

MASM syntax (X86)

Link copied to clipboard

Motorola syntax (M68K, MOS65XX)

Link copied to clipboard

No register name prefix

Link copied to clipboard

CS register alias

Link copied to clipboard

Percent prefix (PPC)

Link copied to clipboard

No dollar prefix (MIPS, LoongArch)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val value: Int

Functions

Link copied to clipboard
fun valueOf(value: String): Syntax

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.