from typing import List


def hi_and_lo_bytes(name: str, indices: List[int]) -> str:
    """
    Create assembly source for separate table of lo / hi byte

    :param name:    Name of of label
    :param indices: Indices in table
    :return:        Assembly source string
    """
    lo_bytes_str = f'{name}_lo: .byte {",".join([f"<{name}_{i}" for i in indices])}'
    hi_bytes_str = f'{name}_hi: .byte {",".join([f">{name}_{i}" for i in indices])}'
    return '\n'.join([lo_bytes_str, hi_bytes_str])