Thanks Alan, I have made a start translating the code i made in C2C to CC5X. I hope the code is more compact, but if this is not the case i am more flexible to use another processor, the aim is to use a 16F628 cause it is pin compatible to the 16F84. The design is fixed and i did not know how much code was necessary. --- Alan Gorham wrote: > >This means that i cannot call any other function > from > >the ISR. Right. > > > No. Definitely not!! > > If you look at the CC5x manual, there is a small > section (number 6.3) on > Interrupts. > > It shows the use of a function called by the ISR > that automatically saves > the w reg. and the FSR. > > I should mention that if you do use the pragma > directive to locate your ISR > origin, then you can't > call functions from the ISR, as you said, but you > don't need to explicitly > define the ISR origin in this way. > > Have you written any code that I could help with? > > Alan > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > > __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads