Interface IInstructionOperandList
- All Superinterfaces:
IInstructionOperand,IInstructionOperandGeneric,IInstructionOperandRegisterBased,IInstructionOperandSized
- All Known Implementing Classes:
AbstractInstructionOperandList
Operand that contains several operands. For example:
[R0, R1]-
Field Summary
Fields inherited from interface com.pnfsoftware.jeb.core.units.code.asm.processor.IInstructionOperandGeneric
TYPE_ADDR, TYPE_ALIAS, TYPE_CMA, TYPE_IMM, TYPE_LIST, TYPE_MEMIMM, TYPE_MEMREG, TYPE_REG, TYPE_RELADDR, TYPE_SIMM, TYPE_USER_1 -
Method Summary
Modifier and TypeMethodDescriptionGet the list of operands represented by this operand.Retrieve the separator of the elements of the listmerge(long address) Attempt to merge parameter list to 1 parameter.Methods inherited from interface com.pnfsoftware.jeb.core.units.code.IInstructionOperand
formatMethods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.processor.IInstructionOperandGeneric
getAlias, getOperandType, getOperandValue, getOperandValue, getPrefix, getSuffix, isImmediate, isRegisterMethods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.processor.IInstructionOperandRegisterBased
getRegisterNameMethods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.processor.IInstructionOperandSized
getOperandBitsize
-
Method Details
-
getOperands
IInstructionOperand[] getOperands()Get the list of operands represented by this operand.- Returns:
- operands in the list
-
getSeparator
String getSeparator()Retrieve the separator of the elements of the list- Returns:
- element separator
-
merge
Attempt to merge parameter list to 1 parameter. When not possible, this method will return null. Otherwise, the returned value can be considered as equivalent to the list. For example 0x45, 0 defined for a right shift is equivalent to 0x22, PC+4 is equivalent to its absolute address.- Parameters:
address- instruction address- Returns:
- merged operand, or null if the list cannot be merged
-