#NEWLINE# def _get_resume_step_addr( self , data ) : #NEWLINE# #INDENT# if ( addr is None ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# data = data . split ( '#' ) [ 0 ] #NEWLINE# if ( ';' not in data ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# if ( data [ 0 ] in ( 'c' , 's' ) ) : #NEWLINE# #INDENT# addr = int ( data [ 2 : ] , base = 16 ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( data [ 0 ] in ( 'C' , 'S' ) ) : #NEWLINE# #INDENT# addr = int ( data [ 1 : ] . split ( ';' ) [ 1 ] , base = 16 ) #NEWLINE# #UNINDENT# #UNINDENT# return addr