Add shift operator to python version

This commit is contained in:
Koichi Nakamura 2021-01-11 12:50:24 +09:00
parent 113f6d1225
commit c3ba7d44b8

View file

@ -240,6 +240,9 @@ add_uint_operator('^', operator.xor)
add_int_operator('<', operator.lt)
add_uint_operator('u', operator.lt)
add_uint_operator('=', operator.eq)
add_uint_operator('(', operator.lshift)
add_uint_operator(')', operator.rshift)
add_int_operator('%', operator.rshift)
def argv():
push(ARGV_ADDR)
push(len(sys.argv))