def s2n_motorola(string):
 x = 0
 for c in string:
  x = ((x << 8) | ord_(c))
 return x

def s2n_motorola ( string ) : x = 0 for c in string : x = ( ( x << 8 ) | ord_ ( c ) ) return x
extract multi-byte integer in motorola format .