public interface

IInstructionOperand

com.pnfsoftware.jeb.core.units.code.IInstructionOperand
Known Indirect Subclasses

Class Overview

Base definition for instruction operands.

Summary

Public Methods
abstract String format(IInstruction insn, long address)
Format the operand, assuming it is used by an instruction at the provided address.

Public Methods

public abstract String format (IInstruction insn, long address)

Format the operand, assuming it is used by an instruction at the provided address.

Parameters
insn optional instruction using this operand. Note that this operand may not be directly returned by insn.getOperands(), e.g., in the case of instructions with nested operands
address optional instruction address, 0 if none. The instruction address is sometimes necessary to properly render PC-dependent operands
Returns
  • simple string representation of the operand