(self, address)
return -1
Retrieve data from data memory: string space
Retrieve data from data memory: string space
Retrieve data from data memory : string space
def get_memory(self, address):
        """Retrieve data from data memory: string space """
        # find the variable we're in
        for try_address, value in iteritems(self._strings):
            length = len(value)
            if try_address <= address < try_address + length:
                return value[address - try_address]
        return -1
def get_memory ( self , address ) : # find the variable we're in for try_address , value in iteritems ( self . _strings ) : length = len ( value ) if try_address <= address < try_address + length : return value [ address - try_address ] return - 1