Hi Dick....thanks point noted. As it goes, while saving space is always welcome the 16f1828 has a reasonable amount - plus, my intended program is going to be very small.
While I've got you ear....do I just use the syntax exactly as per your example, ie.....
Code:
ASM
RDT
BCF IOCAF,IOCAF1 ;clear IOCA negative change interrupt flag
BCF INTCON,3 ;disable interrupt on change by clearing INTCON bit 3
BCF PORTC,5 ;turn on led solid
RETFIE ;return to main
ENDASM
ie headed up by an ASM label with no colon, then on the following line the label as defined by the DEFINE INTHAND command?
Any idea how two interrupts are catered for? (yes, I know DTS_INT handles multiple interrupts already, but just wondering how to do it manually)
Bookmarks