Structure
M68kInstruction.Operand
public struct Operand: InstructionOperand
Operand for M68k instructions.
The operand's value can be accessed by the value property, or by a property corresponding to the operand's type:
-
registerorregistersforregoperands. -
immediateValueforimmoperands. -
floatValueforfpSingleoperands. -
doubleValueforfpDoubleoperands. -
registerListorregistersforregBitsoperands. -
registerPairorregistersforregPairoperands. -
brDispforbranchDisplacementoperands.
Relationships
Member Of
M68kInstructionM68K Instruction
Nested Types
M68kInstruction.Operand.MemoryInstruction operand referring to memory
M68kInstruction.Operand.BranchDisplacementData when operand is a branch displacement
Conforms To
InstructionOperandProtocol for instruction operands.
Properties
immediateValue
var immediateValue: UInt64!
Immediate value for imm operand.
nil when not an appropriate operand.
doubleValue
var doubleValue: Double!
Immediate value for fpDouble operand.
nil when not an appropriate operand.
floatValue
var floatValue: Float!
Immediate value for fpSingle operand.
nil when not an appropriate operand.
register
var register: M68kReg!
Register value for reg operand.
nil when not an appropriate operand.
registerPair
var registerPair: [M68kReg]!
Register pair for regPair operand.
nil when not an appropriate operand.
registerList
var registerList: [M68kReg]!
Register list for regBits operand.
nil when not an appropriate operand.
registers
var registers: [M68kReg]!
Registers for reg, regPair or regBits operand..
nil when not an appropriate operand.
memory
var memory: Memory!
Data when operand is targeting memory.
nil when not an appropriate operand.
branchDisplacement
var branchDisplacement: BranchDisplacement!
Data when operand is a branch displacement