Capstone Documentation Beta

Structure Mos65xx​Instruction.​Operand

public struct Operand: InstructionOperand

Operand for MOS65xx instructions.

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

  • register or registers for reg operands.

  • immediateValue for imm operands.

  • address for mem operands.

%3 Mos65xxInstruction.Operand Mos65xxInstruction.Operand InstructionOperand InstructionOperand Mos65xxInstruction.Operand->InstructionOperand

Member Of

Mos65xxInstruction

MOS65xx Instruction

Conforms To

InstructionOperand

Protocol for instruction operands.

Properties

type

var type: Mos65xxOp

Operand type.

value

var value: Mos65xxOperandValue

Operand value.

register

var register: Mos65xxReg!

Register value for reg operand.

nil when not an appropriate operand.

immediate​Value

var immediateValue: UInt16!

Immediate value for imm operand.

nil when not an appropriate operand.

address

var address: UInt32!

Address for mem operand.

nil when not an appropriate operand.