Hi,
All defines are case sensitive, try
Code:
define OSC 20
define ADC_BITS 10
define ADC_SAMPLEUS 50
I didn't know PM (the "other" assembler, not compiler) wasn't case sensitive. Anyway, MPASM is so you have to be careful there.

Try it and see if that fixes it.

/Henrik.

EDIT: Why multiple threads with the same question?