apedec: 8bit and 24bit support