>=20 > On Feb 11, 2014, at 1:24 AM, alan.b.pearce@stfc.ac.uk wrote: >=20 > > I believe the free mode [of XC8] now does a minimal optimisation so tha= t any > code generated will at least work in the way the code writer intended. >=20 > I dunno. I downloaded the latest, in hopes that this would be true. But= it's > still producing rather weird code: >=20 This has been discussed several times on the Microchip forum and here is on= e of=20 the threads:=20 What seems to be weird looking or bloated assembler code is just the first= =20 "draft" from the compiler, following the C code line by line, before it has= the=20 full picture. This will be cleaned up in the following optimization steps w= hich=20 is part of the PRO (paid) version. /Ruben --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .