Adding bit-vector NOT operation to the opcodes.

This commit is contained in:
yoni206 2020-04-28 09:37:08 -07:00
parent 55e34407d3
commit 4327434d07

View File

@ -45,6 +45,9 @@ def AND(x, y):
def OR(x, y): def OR(x, y):
return x | y return x | y
def NOT(x):
return ~(x)
def SHL(x, y): def SHL(x, y):
return y << x return y << x