def replace_labels_with_temps(contents: str, labels: dict) -> str:
    """
    Replaces all labels that we don't know the location for with temporary addresses ($00000000)
    :param contents: The string to replace labels
    :param labels: The labels
    :return: The string with labels replaced
    """
    for label in labels.items():
        contents = contents.replace(label[0], '($00000000).L')

    return contents