Capstone Documentation Beta

Structure TMS320C64xInstruction.​Operand

public struct Operand: InstructionOperand

Operand for TMS320C64x 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.

  • registerPair for regpair operands.

  • immediateValue for imm operands.

  • memory for mem operands.

%3 TMS320C64xInstruction.Operand TMS320C64xInstruction.Operand InstructionOperand InstructionOperand TMS320C64xInstruction.Operand->InstructionOperand

Member Of

TMS320C64xInstruction

TMS320C64x Instruction

Nested Types

TMS320C64xInstruction.Operand.Memory

Operand referring to memory

Conforms To

InstructionOperand

Protocol for instruction operands.

Properties

type

var type: Tms320c64xOp

Operand type.

value

var value: Tms320c64xOperandValue

Operand value.

register

var register: Tms320c64xReg!

Register value for reg operand.

nil when not an appropriate operand.

register​Pair

var registerPair: [Tms320c64xReg]!

Register values for regpair 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 for mem operand.

nil when not an appropriate operand.