Capstone Documentation Beta

Structure System​ZInstruction.​Operand

public struct Operand: InstructionOperand

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

  • memory for mem operands.

%3 SystemZInstruction.Operand SystemZInstruction.Operand InstructionOperand InstructionOperand SystemZInstruction.Operand->InstructionOperand

Member Of

SystemZInstruction

SystemZ Instruction

Nested Types

SystemZInstruction.Operand.Memory

Operand value referring to memory.

Conforms To

InstructionOperand

Protocol for instruction operands.

Properties

type

var type: SyszOp

Operand type.

value

var value: SyszOperandValue

Operand value

register

var register: SyszReg!

Register value for reg operand.

nil when not an appropriate operand.

immediate​Value

var immediateValue: Int64!

Immediate value for imm operand.

nil when not an appropriate operand.

memory

var memory: Memory!

Base/index/length/displacement value for memory operand.

nil when not an appropriate operand.