> When the code below is compiled I get this error msg: > "AN607.ASM 51 : Register in operand not in bank 0. Ensure > that bank bits are correct." > I have tried switching to bank0, and bank1, it doesnt help Yeah, that assembler warning is really annoying - and useless. I filter it out. It comes up whenever you access a known address in other than bank 0, something you have to do regularly. It's trying to warn you that since the target is not in bank 0, that you need to make sure the bank bits are set correctly. I guess it assumes the bank bits are always left at 0 since it doesn't warn about a target in bank 0. Really stupid. ******************************************************************** Olin Lathrop, embedded systems consultant in Littleton Massachusetts (978) 742-9014, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu