Merge branch 'master' of ssh://192.168.11:/home/zered/dev/python/gte_bare

This commit is contained in:
Yann Weber 2018-04-24 22:40:20 +02:00
commit d04550c867

View file

@ -56,3 +56,20 @@ class Turmit(object):
@RpnOp
def add(self, a, b):
return a + b
@RpnOp
def sub(self, a, b):
return a - b
@RpnOp
def bin_and(self, a, b):
return a & b
@RpnOp
def dup(self, a):
self._push(a)
return a
@RpnOp
def lshift(self, a, b):
return a << b