Hi Jan-Erik, This is a file that I save from Tony Nixon (I think). I thought the OP could use it as a "generic". Thanks for your comments. Al ----- Original Message ----- From: "Jan-Erik Soderholm" To: Sent: Friday, July 09, 2004 1:53 PM Subject: Re: [PIC:] First swing at asm > redtock8 wrote : > > > Resen with attachment. > > Hi. > If that was ment to show some "generic" setup/startup > for the 16 series, I think it should have had a jump > over the interrupt vector address. If you begin building > from this and later decides to add interrupt(s) to your app, > you have to move a lot/some of the code around. > > Personaly, I'd put the init/setup of the processor in some > SUB and just CALL it from the beginning of the main code. > > > This is for the 16f87x but it might help understanding > > how to set up asm files > > Yes, it shows *one* way to do it :-) > > Jan-Erik. > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu