Op Sat, 24 Feb 2007, schreef Krishna:
> Hi all,
>
> Is it possible (ok, without too much work) to make a standalone
> version of the assembler buried inside fpc?
It is possible and doable, however, I'm not sure what your definition of
"not much work" is.
> Would be interesting as it
> would be able to handle both AT&T and Intel syntax.
The assembler reader use a "asmgetchar" procedure to get source code from
the scanner. This probably where you would want to hook them.
> I tried feeding some (straight) asm files to the compiler (silly me!)
> but it bombed. Does fpc accept asm files?
Definately a no.
Daniël
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal