Enum capstone::arch::m680x::M680xOperandType[][src]

pub enum M680xOperandType {
    Reg(RegId),
    Imm(i32),
    Indexed(M680xOpIdx),
    Extended {
        address: u16,
        indirect: bool,
    },
    Direct {
        direct_addr: u8,
    },
    Relative {
        address: u16,
        offset: i16,
    },
    Constant(u8),
    Invalid,
}
Expand description

M680X operand

Variants

Reg(RegId)

Register

Imm(i32)

Immediate

Indexed(M680xOpIdx)

Indexed addressing operand

Extended

Extended addressing operand

Show fields

Fields of Extended

address: u16

Absolute address

indirect: bool

Whether extended indirect addressing

Direct

Direct addressing operand

Show fields

Fields of Direct

direct_addr: u8

Direct address (lower 8-bit)

Relative

Relative addressing operand

Show fields

Fields of Relative

address: u16

Absolute address

offset: i16

Offset/displacement value

Constant(u8)

Constant operand (displayed as number only)

Used e.g. for a bit index or page number.

Invalid

Invalid

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

Returns the “default value” for a type. 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

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.