This seems to work: http://pastebin.com/E3LYfJCx (used with 2.6.0)
Is this how it should look like or am I doing something completely stupid or did I forget something important? With this code (as a replacement for asmcse) the compiler would pass the complete bootstrap cycles without errors and it is removing quite a lot redundant mov instructions. BTW: wouldn't it be possible to make it not generate this redundant code in the first place or would this again be some kind of impossible / overly complicated thing? It seems to me the code is not really meant for performing complicated analysis and operations on the generated assembly code, even the simplest things like comparing two instructions or getting a list of input and output registers seems so incredibly cumbersome, or is this only my impression because I am not very familiar with this kind of things? Bernd _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal