I'm using PBP with a PIC18F1220 in a weather station.
The rain gauge - a tipping bucket - triggers an assembler interrupt routine that accumulates the number of bucket tips.

the variable (in PBP) that holds the count is:

Rain VAR WORD

And the ASM interrupt routine includes the instruction:

incf _Rain ; Increment Rain variable

all works OK but the asm does not recognise the variable 'Rain' as a WORD and 'rolls over when it reaches 255.

How do I get the asm interrupt routine to deal with 'Rain' as a WORD

Thanks
Bill Legge