Kurt Deitrick - 2021-09-13

Hello,

I need to write a macro that contains a test like this:

IF defined(__12F683) | defined(__16F1825)
<some stuff>
ENDIF

It doesn't appear that gpasm supports an expression like that, does it?

I can bypass with something like

IFDEF __12F683
<some stuff>
ELIFDEF __16F1825
<the same stuff>
ENDIF

but this is going to get messy if I need to add other processors.

Any ideas?

Thanks.