Logo Search packages:      
Sourcecode: yasm version File versions  Download package

Expression operators usable in yasm_expr expressions.

Enumerator:
YASM_EXPR_IDENT  No operation, just a value.
YASM_EXPR_ADD  Arithmetic addition (+).
YASM_EXPR_SUB  Arithmetic subtraction (-).
YASM_EXPR_MUL  Arithmetic multiplication (*).
YASM_EXPR_DIV  Arithmetic unsigned division.
YASM_EXPR_SIGNDIV  Arithmetic signed division.
YASM_EXPR_MOD  Arithmetic unsigned modulus.
YASM_EXPR_SIGNMOD  Arithmetic signed modulus.
YASM_EXPR_NEG  Arithmetic negation (-).
YASM_EXPR_NOT  Bitwise negation.
YASM_EXPR_OR  Bitwise OR.
YASM_EXPR_AND  Bitwise AND.
YASM_EXPR_XOR  Bitwise XOR.
YASM_EXPR_SHL  Shift left (logical).
YASM_EXPR_SHR  Shift right (logical).
YASM_EXPR_LOR  Logical OR.
YASM_EXPR_LAND  Logical AND.
YASM_EXPR_LNOT  Logical negation.
YASM_EXPR_LT  Less than comparison.
YASM_EXPR_GT  Greater than comparison.
YASM_EXPR_EQ  Equality comparison.
YASM_EXPR_LE  Less than or equal to comparison.
YASM_EXPR_GE  Greater than or equal to comparison.
YASM_EXPR_NE  Not equal comparison.
YASM_EXPR_NONNUM  Start of non-numeric operations (not an op).
YASM_EXPR_SEG  SEG operator (gets segment portion of address).
YASM_EXPR_WRT  WRT operator (gets offset of address relative to some other segment).
YASM_EXPR_SEGOFF  The ':' in segment:offset.

Definition at line 114 of file coretype.h.

             {
    YASM_EXPR_IDENT,    /**< No operation, just a value. */
    YASM_EXPR_ADD,      /**< Arithmetic addition (+). */
    YASM_EXPR_SUB,      /**< Arithmetic subtraction (-). */
    YASM_EXPR_MUL,      /**< Arithmetic multiplication (*). */
    YASM_EXPR_DIV,      /**< Arithmetic unsigned division. */
    YASM_EXPR_SIGNDIV,  /**< Arithmetic signed division. */
    YASM_EXPR_MOD,      /**< Arithmetic unsigned modulus. */
    YASM_EXPR_SIGNMOD,  /**< Arithmetic signed modulus. */
    YASM_EXPR_NEG,      /**< Arithmetic negation (-). */
    YASM_EXPR_NOT,      /**< Bitwise negation. */
    YASM_EXPR_OR, /**< Bitwise OR. */
    YASM_EXPR_AND,      /**< Bitwise AND. */
    YASM_EXPR_XOR,      /**< Bitwise XOR. */
    YASM_EXPR_SHL,      /**< Shift left (logical). */
    YASM_EXPR_SHR,      /**< Shift right (logical). */
    YASM_EXPR_LOR,      /**< Logical OR. */
    YASM_EXPR_LAND,     /**< Logical AND. */
    YASM_EXPR_LNOT,     /**< Logical negation. */
    YASM_EXPR_LT, /**< Less than comparison. */
    YASM_EXPR_GT, /**< Greater than comparison. */
    YASM_EXPR_EQ, /**< Equality comparison. */
    YASM_EXPR_LE, /**< Less than or equal to comparison. */
    YASM_EXPR_GE, /**< Greater than or equal to comparison. */
    YASM_EXPR_NE, /**< Not equal comparison. */
    YASM_EXPR_NONNUM,   /**< Start of non-numeric operations (not an op). */
    YASM_EXPR_SEG,      /**< SEG operator (gets segment portion of address). */
    YASM_EXPR_WRT,      /**< WRT operator (gets offset of address relative to
                   *   some other segment). */
    YASM_EXPR_SEGOFF    /**< The ':' in segment:offset. */
} yasm_expr_op;


Generated by  Doxygen 1.6.0   Back to index