Operand
Base sealed class for instruction operands.
Different operand types are represented by subclasses.
Inheritors
Types
Link copied to clipboard
data class FloatingPointOperand(val value: Double, val access: AccessType = AccessType.READ) : Operand
Floating-point operand
Link copied to clipboard
Immediate (constant) operand
Link copied to clipboard
data class MemoryOperand(val base: Register? = null, val index: Register? = null, val scale: Int = 1, val displacement: Long = 0, val segment: Register? = null, val access: AccessType = AccessType.INVALID) : Operand
Memory operand
Link copied to clipboard
data class RegisterOperand(val register: Register, val access: AccessType = AccessType.INVALID) : Operand
Register operand