NUM_PER_LINE
if (i % NUM_PER_LINE == 0)
fprintf(fp, "%.4x%s", (int32_t)(eebuf[i]), i % NUM_PER_LINE == (NUM_PER_LINE - 1) ? "\n" : " ");