> More of an outsiders thoughts of a summary of the supposed experts, for > comment, that's why I noted up front my qualifications. :) > 1: Should a compiler, do a reasonable job of generating code on a line > by line basis, or is this not expected if the targets are a mixed bag of > devices in a family? I see no reason why it should. > 2: When you specify a target device, should the compiler generate > different code, then for a different device? This is excluding hardware > specifics like ADC, EUARTS ,UARTS, etc. which I would assume be handled > correctly for the device. If the devices are sufficiently different the code will be forced to be different. > 3: Should the optimizer then take that code generated on a line by line > basis and improve it by eliminating duplicates, and unnecessary steps? could, but not necessary -- Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist