Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: Is there an open source ARM assembler?

2005-11-27 by Robert Adsett

At 06:31 PM 11/27/05 +0000, Eric Engler wrote:
>--- In lpc2000@yahoogroups.com, Robert Adsett <subscriptions@a...> wrote:
>
> > Since it's not an hc11/hc12 assembler that's hardly surprising.  I
>have to
> > say I found the GAS syntax no more obscure than any other assembler
>I've
> > ever worked with.
>
>I meant to say it doesn't use ARM syntax, of course. I was wearing my
>hc11/hc12 hat by mistake. I posted a corrected message but it was too
>late, the bad one already got out :-(

It happens.


>This is a general complaint of GAS/as because it was intended to have
>a cross platform syntax, therefore, it doesn't match the syntax of any
>particular family.

I've seen the same complaint levelled against the x86 variant.

>A translator may be the best idea...take a standard ARM assembler file
>as an input and write out a GAS assembler file. Then you can assemble
>using GAS and link to gcc-compiled modules.


You may well be right, or it might be just as fast to learn the different 
syntax.  Personally, I suspect learning the syntax would be faster but if 
you are translating a lot of existing source you could make an argument for 
writing a translator. Or you could just use C ;)  It has been accused of 
being little more than a portable assembler.  I find myself using assembler 
rather sparingly for the ARM, so far only interrupt support and task 
switching which I always do in assembly in any case.

Actually given gcc's availability I don't see a lot of need for large 
amounts of assembly, but not everyone is likely to agree :)

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,   be 
they legal, genetic, or physical.  If you don't believe me, try to chew a 
radio signal. "  -- Kelvin Throop, III
http://www.aeolusdevelopment.com/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.