M. Adam Davis wrote: > With fewer than 40 instructions and fast computers, it should actually > be pretty easy to brute force any simple algorithm. I wonder if it > would be worth making a general program, and how one would input the > problem... It IS worth doing; Microsoft have done it for their compilers. It shouldn't be too hard, either; again, Microsoft have done it. -Andy P.S. At least one person has already written a "try all possible combinations of x instructions" program for writing PIC code. I believe he's on the list; perhaps he'll respond to this thread. === Andrew Warren -- aiw@cypress.com === Principal Design Engineer === Cypress Semiconductor Corporation -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.