def ca65_bytearray(s):
    """Convert a byteslike into ca65 constant byte statements"""
    s = ['  .byt ' + ','.join("%3d" % ch for ch in s[i:i + 16])
         for i in range(0, len(s), 16)]
    return '\n'.join(s)