#NEWLINE# def op_SLICE_2( self , info , inst ) : #NEWLINE# #INDENT# '\n        TOS = TOS1[:TOS]\n        ' #NEWLINE# tos = info . pop ( ) #NEWLINE# tos1 = info . pop ( ) #NEWLINE# res = info . make_temp ( ) #NEWLINE# slicevar = info . make_temp ( ) #NEWLINE# indexvar = info . make_temp ( ) #NEWLINE# nonevar = info . make_temp ( ) #NEWLINE# info . append ( inst , base = tos1 , stop = tos , res = res , slicevar = slicevar , indexvar = indexvar , nonevar = nonevar ) #NEWLINE# info . push ( res )