.. _program_word:

		Write the word ``word`` to the memory at offset ``offset``.
		Used to write the boot code.

		Might raise AddressError_, if the  offset exceeds the address space.

def program_word(self, offset, word):
		"""
		.. _program_word:

		Write the word ``word`` to the memory at offset ``offset``.
		Used to write the boot code.

		Might raise AddressError_, if the  offset exceeds the address space.

		"""
		if(offset >= self.size):
			raise AddressError("Offset({}) not in address space({})".format(offset, self.size))
		self.repr_[offset].setvalue(word)