<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_interrupt(self, interrupt):
 		""" 		Adds the interrupt to the internal interrupt storage ``self.interrupts`` and 		registers the interrupt address in the internal constants. 		"""

		self.interrupts.append(interrupt)
		self.constants[interrupt.name] = interrupt.address