Hi Butch,
Don't know all the names and such for the '629 - but along with the interrupt type you're using, you'll need the GIE bit set too. GPIE can be a bit tricky sometimes (check the data sheet) - I like the INTE (GPIO.2) interrupt (remember to set the edge triggering as needed).
Then you'll need to DISABLE the interrupts in "LOOP" - or use a dedicated interrupt handler - and maybe turn off the associated interrupt enable bit and clear the flag bit - INTCON = $80 (or something similar - device specific).
You'll also need to loop back to SLEEP 100 after the SLEEP 100 command - or your code will just contiue after waking up.
Arch
Bookmarks