[fpc-pascal] fpc assembler
Daniël Mantione
daniel.mantione at freepascal.org
Fri Feb 23 21:45:17 CET 2007
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
More information about the fpc-pascal
mailing list