diff --git a/test/formal/opcodes.py b/test/formal/opcodes.py index e65ecef29..589bd9520 100644 --- a/test/formal/opcodes.py +++ b/test/formal/opcodes.py @@ -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