Structure
M680xInstruction.Operand
public struct Operand: InstructionOperand
Operand for M680x instructions.
The operand's value can be accessed by the value
property, or by a property corresponding to the operand's type:
-
register
orregisters
forreg
operands. -
immediateValue
forimm
operands. -
constantValue
forconstant
operands. -
indexedAddress
forindexed
operands. -
relativeAddress
forrelative
operands. -
extendedAddress
forextended
operands. -
directAddress
fordirect
operands.
Relationships
Member Of
M680xInstruction
M680x Instruction
Nested Types
M680xInstruction.Operand.IndexedAddress
Operand referring to indexed addressing.
M680xInstruction.Operand.RelativeAddress
Operand referring to relative addressing (Bcc/LBcc).
M680xInstruction.Operand.ExtendedAddress
Operand referring to extended addressing.
Conforms To
InstructionOperand
Protocol for instruction operands.
Properties
isInMnemonic
var isInMnemonic: Bool
true
if the operand is implicit in the mnemonic.
size
var size: UInt8
Size of this operand (in bytes).
register
var register: M680xReg!
Register value for register
operand.
nil
when not an appropriate operand.
immediateValue
var immediateValue: Int32!
Immediate value for immediate
operand.
nil
when not an appropriate operand.
indexedAddress
var indexedAddress: IndexedAddress!
Indexed addressing operand.
nil
when not an appropriate operand.
relativeAddress
var relativeAddress: RelativeAddress!
Relative addressing operand (Bcc/LBcc).
nil
when not an appropriate operand.
extendedAddress
var extendedAddress: ExtendedAddress!
Extended address.
nil
when not an appropriate operand.
directAddress
var directAddress: UInt16!
Direct address.
nil
when not an appropriate operand.
constantValue
var constantValue: UInt8!
Constant value (bit index, page nr.).
nil
when not an appropriate operand.