William "Chops" Westfield ha scritto: > It used to be that one was taught to have their compiler output > "standard format intermediate code" (usually triple operand things > that matched no real machines at all: "operation source1, source2 ==> > destination".) Then, "later", one would write a code generator that > would optimize that in ways specific to a destination CPU. (actually, > I guess you get at least three chances to optimize; you can optimized > the intermediate code, optimize the generation of real code, and then > optimize the resulting machine code.) > > The Hi-tech compiler *is* (was?) multi-target, so it probably has some > sort of common back-end and does something very like this sort of code > generation. I agree with you Bill, I thought the same. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist