Class AssemblyOperandState

java.lang.Object
ghidra.app.plugin.assembler.sleigh.sem.AbstractAssemblyState
ghidra.app.plugin.assembler.sleigh.sem.AssemblyOperandState

public class AssemblyOperandState extends AbstractAssemblyState
The state corresponding to a non-sub-table operand

This is roughly analogous to ConstructState, but for assembly. However, it also records the value of the operand and the actual operand symbol whose value it specifies.

  • Field Details

  • Constructor Details

    • AssemblyOperandState

      public AssemblyOperandState(AssemblyTreeResolver resolver, List<AssemblyConstructorSemantic> path, int shift, AssemblyTerminal terminal, long value, OperandSymbol opSym)
      Construct the state for a given operand and selected value
      Parameters:
      resolver - the resolver
      path - the path for diagnostics
      shift - the (right) shift of this operand
      terminal - the terminal that generated this state
      value - the value of the operand
      opSym - the operand symbol
  • Method Details