Tried a duff's device technique but failed

- XC8 doesn't support __LINE__ macro as an integer for case
  statements. Nor doest it support the preprocessor ## operator
  between an identifier and __LINE__.