Thats wonderful... I think that's everything i was missing...

However why does the pic18 lib and macro's have bank checking routines when, according to the data-sheet the ram and program memory maps are laid out in a linear sequential manner and not in banks?
Unless i'm missing something?