Package iota

Class NMarvinCall


class NMarvinCall extends NMarvinInstruction
Representation of an instruction for calling a method.
  • Field Details

    • name

      public String name
      Method name.
    • desc

      public String desc
      Method descriptor.
    • rX

      public NPhysicalRegister rX
      Return address.
    • N

      public int N
      Address where the method is defined.
  • Constructor Details

    • NMarvinCall

      public NMarvinCall(String name, String desc, NPhysicalRegister rX, int N)
      Constructs an NMarvinCall object.
      Parameters:
      name - method name.
      desc - method descriptor.
      rX - return address.
      N - address where the method is defined.
  • Method Details

    • write

      public void write(PrintWriter out)
      Writes this instruction to the given output stream.
      Specified by:
      write in class NMarvinInstruction
      Parameters:
      out - output stream.