summaryrefslogtreecommitdiffstats
path: root/Include/opcode.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-10-24 14:59:31 (GMT)
committerGuido van Rossum <guido@python.org>1991-10-24 14:59:31 (GMT)
commit7928cd7636060c09da613d6f226a54903b86740a (patch)
treea098fc51fb6d3beb0efc3a7905c762190443b183 /Include/opcode.h
parent7a6dfa7d79597f29866033ecf648457fe7572a8f (diff)
downloadcpython-7928cd7636060c09da613d6f226a54903b86740a.zip
cpython-7928cd7636060c09da613d6f226a54903b86740a.tar.gz
cpython-7928cd7636060c09da613d6f226a54903b86740a.tar.bz2
Added shift and mask ops.
Diffstat (limited to 'Include/opcode.h')
-rw-r--r--Include/opcode.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index 7edf661..62cedb3 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -35,6 +35,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define UNARY_NOT 12
#define UNARY_CONVERT 13
#define UNARY_CALL 14
+#define UNARY_INVERT 15
#define BINARY_MULTIPLY 20
#define BINARY_DIVIDE 21
@@ -56,6 +57,13 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define STORE_SUBSCR 60
#define DELETE_SUBSCR 61
+#define BINARY_LSHIFT 62
+#define BINARY_RSHIFT 63
+#define BINARY_AND 64
+#define BINARY_XOR 65
+#define BINARY_OR 66
+
+
#define PRINT_EXPR 70
#define PRINT_ITEM 71
#define PRINT_NEWLINE 72