You sure do put your comments way out in right field. Makes it difficult to print out on a standard page and still be able to read the comments. Jim > ...And I'm back. > > I did some cleaning and re-touching her and there. I my self think that > it looks much cleaner and the comments are plentyfull. I still have to > find the optimal commenting style for my self; no worries though... > > Okay; > > My main loop now boasts a NOP (whoa!), basically doing nothing > (oooooooh!)... In my INITIALIZE routine I have done the following: > > [code] > > ; Interrupt Configuration > BSF INTCON, GIE ; Set the General Interrupt Enable bit to 1. > > BCF INTCON, RAIF ; Clear the PORTA interrupt flag. > BSF INTCON, RAIE ; Enable PORTA change interrupt. > BSF IOCA, IOCA3 ; Enable interrupt-on-change on RA3. > > [/code] > > Now, does this mean that when I hit the button attached to RA3, the pic > should jump right to mem-location 0x04 and from there run my Interrupt > Service Routine? > > I once again attached my ASM-file to this mail -this time a clean(er) > version-. If any-one has any other tips, comments or whatever; I'm > ready for em (I think)! > > Thanks once again, > > Sean. > > P.S. Start cheering, my INITIALIZE now boasts a RETURN! If you don't > believe me, feel free to take a look! -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist