Hey Karl
in PB you can also let the interpreter during compiling output the asm code for further manual editing. The resulting asm is verrrrrry suboptimal, so such a suboptimal code should be avoided during the interpreting-process of the pb-to-asm code -> have a look in the thread at the rsulted asm code out of PB and whats possible further below in Tronds post where he did change the whole routine into inline asm code within th PB code.
I dunno which one, but there is a "basic" alternative outside which does exactly what you say: Intermidiale code generation in "C" before beeing compiled using the GCC compiler.