Class Operand

  • Direct Known Subclasses:
    BaseReg, Immediate, Label, Mem

    @Deprecated
    public class Operand
    extends java.lang.Object
    Deprecated.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int op
      Deprecated.
       
      private int size
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      Operand​(int op, int size)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean isImm()
      Deprecated.
      Return @c true if operand is immediate (@c OP_IMM).
      boolean isLabel()
      Deprecated.
      Return @c true if operand is label (@c OP_LABEL).
      boolean isMem()
      Deprecated.
      Return @c true if operand is memory address (@c OP_MEM).
      boolean isNone()
      Deprecated.
      Return @c true if operand is none (@c OP_NONE).
      boolean isReg()
      Deprecated.
      Return @c true if operand is any (general purpose, mmx or sse) register (@c OP_REG).
      boolean isRegCode​(int code)
      Deprecated.
       
      boolean isRegIndex​(int index)
      Deprecated.
       
      boolean isRegMem()
      Deprecated.
      Return @c true if operand is any register or memory.
      boolean isRegMem​(int regType)
      Deprecated.
       
      boolean isRegType​(int type)
      Deprecated.
       
      int op()
      Deprecated.
      Return type of operand, see @c OP.
      int size()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • op

        private final int op
        Deprecated.
      • size

        private final int size
        Deprecated.
    • Constructor Detail

      • Operand

        public Operand​(int op,
                       int size)
        Deprecated.
    • Method Detail

      • op

        public int op()
        Deprecated.
        Return type of operand, see @c OP.
      • size

        public int size()
        Deprecated.
      • isNone

        public boolean isNone()
        Deprecated.
        Return @c true if operand is none (@c OP_NONE).
      • isReg

        public boolean isReg()
        Deprecated.
        Return @c true if operand is any (general purpose, mmx or sse) register (@c OP_REG).
      • isMem

        public boolean isMem()
        Deprecated.
        Return @c true if operand is memory address (@c OP_MEM).
      • isImm

        public boolean isImm()
        Deprecated.
        Return @c true if operand is immediate (@c OP_IMM).
      • isLabel

        public boolean isLabel()
        Deprecated.
        Return @c true if operand is label (@c OP_LABEL).
      • isRegMem

        public final boolean isRegMem()
        Deprecated.
        Return @c true if operand is any register or memory.
      • isRegCode

        public final boolean isRegCode​(int code)
        Deprecated.
      • isRegType

        public final boolean isRegType​(int type)
        Deprecated.
      • isRegIndex

        public final boolean isRegIndex​(int index)
        Deprecated.
      • isRegMem

        public final boolean isRegMem​(int regType)
        Deprecated.