<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def read_int(self):
 		""" 		Reads an integer. The size depends on the architecture. 		Reads a 4 byte small-endian singed int on 32 bit arch 		Reads an 8 byte small-endian singed int on 64 bit arch 		"""

		if self.reader.sysinfo.ProcessorArchitecture == PROCESSOR_ARCHITECTURE.AMD64:
			return int.from_bytes(self.read(8), byteorder = 'little', signed = True)
		else:
			return int.from_bytes(self.read(4), byteorder = 'little', signed = True)