def subscribe_to_write(self, address_range, callback):
        for address in address_range:
            address &= self.physMask
            callbacks = self._write_subscribers.setdefault(address, [])
            if callback not in callbacks:
                callbacks.append(callback)
dataset/ETHPy150Open mnaberez/py65/py65/memory.py/ObservableMemory.subscribe_to_write/original