#NEWLINE# def _cs_disassemble_one( self , data , address ) : #NEWLINE# #INDENT# 'Disassemble the data into an instruction in string form.\n        ' #NEWLINE# ( asm , size ) = ( '' , 0 ) #NEWLINE# disasm = list ( self . _disassembler . disasm_lite ( data , address ) ) #NEWLINE# if ( len ( disasm ) > 0 ) : #NEWLINE# #INDENT# ( address , size , mnemonic , op_str ) = disasm [ 0 ] #NEWLINE# asm = str ( ( ( mnemonic + ' ' ) + op_str ) ) . strip ( ) #NEWLINE# #UNINDENT# if ( asm in [ 'repne' , 'rep' , 'lock' , 'data16' ] ) : #NEWLINE# #INDENT# ( asm , size ) = ( '' , 0 ) #NEWLINE# #UNINDENT# return ( asm , size )