GNU Assembler

Hi there,

I'm working with an C164CI microcontroller from Infineon and I like to write programs to it in assembly. I just have some experience with the software from KEIL and now I'd like to use the GNU assembler for the C166 family from HIGHTEC as I prefer working under Linux.

So my question is, if there where some examples of assembly code for the gnu assembler g166-as and where to find them. In the examples brought with the distribution there are only C code examples and my problem is that it seems that there are many differences between the KEIL assembly code and the gnu assembly. So does anybody have experiences with the gnu-assembler for the C166 family or are the rules maybe the same as they are for normal gnu assembly???

Thanks for help

Thomas

Reply to
Thomas Baier
Loading thread data ...

I would assume the rules are the same as for gnu assemblers of other microprocessors... they like to keep things similar across platforms where possible.

David

Thomas Baier wrote:

Reply to
David Lindauer

write

gnu

seems

Look through the info(1) file for gas(1) -- though I have no first hand knowledge of how the assembler is supported. (i.e. the gas(1) port may not be part of the normal distribution and, as such, may be documented differently -- or, not at all!)

Another "hack" would be to *compile*.those examples with the "-S" switch and examine the ".s" files to see what the *compiler* thinks the *assembler* can handle.

If you are ambitious, you can browse the sources (GPL'd) and, if nothing else, see what sort of commentary accompanies them

--don

Reply to
Don

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.