comparison src/expr.h @ 23:ec0bf61a5502

Added ^ (bitwise complement)
author lost
date Fri, 02 Jan 2009 01:32:07 +0000
parents 218aabbc3b1a
children 538e15927776
comparison
equal deleted inserted replaced
22:b704f7ffc8ba 23:ec0bf61a5502
48 #define LWASM_OPER_BWAND 7 // bitwise AND 48 #define LWASM_OPER_BWAND 7 // bitwise AND
49 #define LWASM_OPER_BWOR 8 // bitwise OR 49 #define LWASM_OPER_BWOR 8 // bitwise OR
50 #define LWASM_OPER_BWXOR 9 // bitwise XOR 50 #define LWASM_OPER_BWXOR 9 // bitwise XOR
51 #define LWASM_OPER_AND 10 // boolean AND 51 #define LWASM_OPER_AND 10 // boolean AND
52 #define LWASM_OPER_OR 11 // boolean OR 52 #define LWASM_OPER_OR 11 // boolean OR
53 #define LWASM_OPER_NEG 12 // unary negation (2's complement) 53 #define LWASM_OPER_NEG 12 // - unary negation (2's complement)
54 #define LWASM_OPER_COM 13 // unary 1's complement 54 #define LWASM_OPER_COM 13 // ^ unary 1's complement
55 55
56 56
57 // term structure 57 // term structure
58 typedef struct lwasm_expr_term_s 58 typedef struct lwasm_expr_term_s
59 { 59 {