Capstone Documentation Beta

Structure XCore​Instruction.​Operand

public struct Operand: InstructionOperand

Operand for XCore instructions.

The operand's value can be accessed by the value property, or by a property corresponding to the operand's type:

  • register for reg operands.

  • immediateValue for imm operands.

  • memory for mem operands.

%3 XCoreInstruction.Operand XCoreInstruction.Operand InstructionOperand InstructionOperand XCoreInstruction.Operand->InstructionOperand

Member Of

XCoreInstruction

XCore Instruction

Nested Types

XCoreInstruction.Operand.Memory

Operand referring to memory

Conforms To

InstructionOperand

Protocol for instruction operands.

Properties

type

var type: XcoreOp

Operand type.

value

var value: XcoreOperandValue

Operand value.

register

var register: XcoreReg!

Register value for reg operand.

nil when not an appropriate operand.

immediate​Value

var immediateValue: Int32!

Immediate value for imm operand.

nil when not an appropriate operand.

memory

var memory: Memory!

Memory values for mem operand.

nil when not an appropriate operand.