Record Class Instruction.Operand
java.lang.Object
java.lang.Record
org.applecommander.disassembler.api.Instruction.Operand
- Record Components:
opFmt- Operand format string. This should be with "%s" and include any formatting. Example: Immediate addressing would be "#%s".value- The formatted value. It will be combined with the operand format string, unless a label is requested.address- An optional address. The disassembler uses this to identify labels.
- Enclosing class:
Instruction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddress()Returns the value of theaddressrecord component.final booleanIndicates whether some other object is "equal to" this one.format()Format the operand with the given value.Format the operand but use the given label instead of the value.final inthashCode()Returns a hash code value for this object.opFmt()Returns the value of theopFmtrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
Operand
-
-
Method Details
-
format
Format the operand with the given value. -
format
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
opFmt
-
value
-
address
-