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. I must fiddle with the inc file and see what it does if the real= addresses are used instead of the offsets. Colin -- cdb, bodgy1@optusnet.com.au on 14/12/2003 I have always been a few Dendrites short of an Axon and believe= me it shows. Light travels faster than sound. That's why some people appear= bright until they speak! -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads