> I know you don't like the way I write code, but you could > really use something like my DBANKIF macro. All those > hard coded BSF STATUS,RPn make me very nervous > and they are too time consuming to check by hand. I'd > rather have the assembler calculate that stuff for me I don't mind your writing style at all - it's just different to the way I do it. As you'll see from my other post, I found the problem. Olin 1 Jinx 0 ;-) I take your point about using bank-switching macros, but in this case it was simply a case of not RTFM properly on my part and missing the fact that the answer was right in front of me in your code -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu