Package Asm

Class IO

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  IO.Op  
    • Constructor Summary

      Constructors 
      Constructor Description
      IO​(IO.Op op, int reg)
      Constructeur sans label
      IO​(java.lang.String label, IO.Op op, int reg)
      Constructeur
    • Constructor Detail

      • IO

        public IO​(java.lang.String label,
                  IO.Op op,
                  int reg)
        Constructeur
        Parameters:
        label - label de l'instruction
        op - type d'opération
        reg - numéro de registre
      • IO

        public IO​(IO.Op op,
                  int reg)
        Constructeur sans label
        Parameters:
        op - type d'opération
        reg - numéro de registre
    • Method Detail

      • getReg

        public int getReg()
        Getter du registre
        Returns:
        int numéro de registre
      • setReg

        public void setReg​(int reg)
        Setter du registre
        Parameters:
        reg - numéro de registre
      • toString

        public java.lang.String toString()
        Conversion en String
        Overrides:
        toString in class java.lang.Object
        Returns:
        String texte de l'instruction