def extract_literal_string(memory,address,ztext):
    """ Extract the literal string from the given memory/address and return the new address + string """
    zchar_start_address = address
    text, next_address = ztext.to_ascii(memory,zchar_start_address,0)   
    return next_address,text