Adding bit-vector NOT operation to the opcodes.

This commit is contained in:
yoni206
2020-04-28 09:43:31 -07:00
parent 55e34407d3
commit 4327434d07
+3
View File
@@ -45,6 +45,9 @@ def AND(x, y):
def OR(x, y):
return x | y
def NOT(x):
return ~(x)
def SHL(x, y):
return y << x