On Fri, 27 May 2011 12:04:25 -0300, Gerhard Fiedler wrote: :::: and explanations of how to do a few of the things that seem so :::: trivial in assembler but have no obvious solution in C18. :::: :: Like what? There's always inline assembly if you really need it. In my experience different ANSI 'C' compilers for the PIC aren't equal=20 either in the assembler they produce or the way in which the syntax is=20 used. There are some things in assembler that just can't be produced by a C= =20 compiler with reliability. Structs seem to have slightly different implementations between compilers,= =20 and as yet I've found no compiler that will test if bit 3 is set in a loop= =20 variable as a short cut for looping 7 times. The only book I can think of that has some Microchip and Hitech 'C' code in= =20 it is John Peatman's Pic 18F452 book, and even then it is an add on at the= =20 end of the book. Code is available for download from his website=20 (www.picbook.com). Colin -- cdb, colin@btech-online.co.uk on 29/05/2011 =20 Web presence: www.btech-online.co.uk =20 =20 Hosted by: www.justhost.com.au =20 =20 =20 =20 =20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .