Class PcodeEmit

  • Direct Known Subclasses:
    PcodeEmitObjects, PcodeEmitPacked

    public abstract class PcodeEmit
    extends java.lang.Object
    Class for converting ConstructTpl into a pcode ops given a particular InstructionContext
    • Field Detail

      • labeldef

        protected java.util.ArrayList<java.lang.Integer> labeldef
      • numOps

        protected int numOps
    • Constructor Detail

      • PcodeEmit

        protected PcodeEmit()
        Pcode emitter constructor for empty or unimiplemented instructions
      • PcodeEmit

        public PcodeEmit​(ParserWalker walk,
                         InstructionContext ictx,
                         int fallOffset,
                         PcodeOverride override,
                         UniqueAddressFactory uniqueFactory)
        Pcode emitter constructor
        Parameters:
        walk - is the ParserWalker state for the tree that needs to be walked to generate pcode
        ictx - is the InstructionContext interface to resolve requests for context
        fallOffset - default instruction fall offset (i.e., instruction length including delay slotted instructions)
        override - required if pcode overrides are to be utilized
        uniqueFactory - required when override specified or if overlay normalization is required