>That "error" is telling you that you are out of memory. >That's why you have to re-write all your code, 'cause >you write it better the second time and it needs less >space... Perhaps you should try enabling the >optimizations that are not ON by default... I took it that it was a linker error that he had. By rewriting the "monstrous" "main" module (OP's description) then the linker was able to spread the code across a number of banks instead of trying to fit it all in one bank with all the free space in another. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist