> A little late... Another way is to stay in C For didactic reasons I don't want to do that. The problem was in my PSECT line, IIRC I first used PSECT text0 Which simply crashed the compiler and/or assembler. Now I use PSECT text0,local,class=3DCODE,delta=3D2 --=20 Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu C++ on uC blog: http://www.voti.nl/erblog --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .