Package iota

Class NLirStore


class NLirStore extends NLirInstruction
Representation of a store (from register to memory) instruction.
  • Field Details

    • N

      public int N
      Offset from the base memory address to store at.
  • Constructor Details

    • NLirStore

      public NLirStore(NBasicBlock block, int id, String mnemonic, NRegister from, NRegister to, int N)
      Constructs an NLirStore object.
      Parameters:
      block - enclosing block.
      id - instruction id.
      mnemonic - instruction mnemonic.
      from - register (virtual or physical) to store from.
      to - base memory address.
      N - offset from the base memory address to store at.
  • Method Details

    • toMarvin

      public void toMarvin()
      Converts this instruction to the corresponding Marvin instruction.
      Overrides:
      toMarvin in class NLirInstruction
    • toString

      public String toString()
      Returns a string representation of this instruction.
      Overrides:
      toString in class NLirInstruction
      Returns:
      a string representation of this instruction.