Yahoo Groups archive

Lpc2000

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

Thread

Re: assembler arm vs. gas

Re: assembler arm vs. gas

2006-04-03 by Steve Franks

>
> Looks like a good assembler, but he doesn't support the standard ARM
> syntax, either :-(
>

I'm really a bit naive here, no doubt, but couldn't one make the
preprocessor run on a .S file (probably it already does)?  Then we
could macro in the differences, unless operands are reordered (or
something similarly ugly), but I'd think it's a pretty one-one
correspondence, no?  Of course, someone still has to do the work; the
rest of us just 'borrow' assembly files for startup code and interrupt
handlers that were written with gas already ;)

Steve

Re: assembler arm vs. gas

2006-04-04 by Eric Engler

--- In lpc2000@yahoogroups.com, "Steve Franks" <stevefranks@...> wrote:

> > Looks like a good assembler, but he doesn't support the standard ARM
> > syntax, either :-(
> >
> 
> I'm really a bit naive here, no doubt, but couldn't one make the
> preprocessor run on a .S file (probably it already does)? 

I think that'd be the easiest way of making an open source assembler
that uses standard Arm syntax. But you'd have to know both the gas and
Arm syntax reasonably well to do this, and that leaves me out :-(

It may be possible to convert a single line at a time with no need to
build a symbol table or anything like that, but I don't know the
subject well enough to know for sure.

Eric

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.