> Hi all
> have a non-Gcc syntax for assembler code and would like a translation
> gcc compatible assembler syntax
I have not done this for years, and never with gcc, but my approach
to do this was:
1) Write a C function with the proper parameter and return types,
do something simple in the function body.
2) Call the compiler for that file, give the option to produce
an assembler listing.
3) The assembler code for taking the parameters and returning
the function result, handling the stack frame etc.
is correct by definition.
4) Rename the listing to an assembler source file ("x.s" ?)
and edit the function body to insert your instructions,
the existing body should (hopefully) show the notation.
Joerg Bruehe, SQL Datenbanksysteme GmbH, Berlin, Germany
(speaking only for himself)