On Sun, 14 Dec 2003 08:30:40 +1000, cdb wrote: >Yes , I realise that it is ignoring the bank bits, I just thought it >strange that one part of it does perform the conversion, but another >part doesn't. > The instruction being 'decoded' doesn't contain the bank bits. The program is just doing a lookup based on the information that it has available. There's no way to be certain of the state of the bank bits based on the binary code in the instruction. It's assuming bank 0. Regards, Bob -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads