🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52340

Re: Help: Simple gas 68k Question

#52340
From: Matti Aarnio
Date: Wed, 25 Nov 1992 17:44
27 lines
1843 bytes
psycho@brtpa25.NoSubdomain.NoDomain (Paul Jezioranski) writes:
>
>	I am attempting to assemble what I would call a "traditional" 68000
>assembly file using gas. It chokes immediately on the file. Such things as 
>comments (";"), moves ("move.b"), and other things do not work. In the 
>m68k.h file that comes with gas, "move.b" becomes "moveb".

  So you want to use "Motorola Syntax", instead of "MIT Syntax" ?

>	Is there a way to assemble my file with gas, or perhaps use another
>exec to convert my assembly code to "gas"able code? Is there a better 
>assembler to use than gas? Am I omitting a painfully obvious step? Any
>help would be appreciated...

  It would be nice to have multi-syntax assember, but as it is intended
as back-back-end for GCC, nobody has bothered with such major feature...,
and as I haven't seen a word from FSF that such feature is desirable and
would be incorporated to future versions, I won't invest my time for just
a one-shot case..

  May I propose you to make a LEXX err.. FLEX .. filter for it ?

>Paul Jezioranski			|  STANDARD DISCLAIMER -- My opinions 
>psycho@bnr.ca				|  are shared by my employer only when
>Bell-Northern Research, Inc. RTP, NC	|  they agree with me.

	/Matti Aarnio <mea@utu.fi>  University of Turku, Turku, Finland
Technical Details
Message-ID: <1992Nov25.174429.1855@polaris.utu.fi>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!polaris!mea
References: <1992Nov25.155539.4490@bmerh85.bnr.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,2b3704431d0a7d01
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-11-25 10:05:31 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!polaris!mea
From: mea@polaris.utu.fi (Matti Aarnio)
Subject: Re: Help: Simple gas 68k Question 
Message-ID: <1992Nov25.174429.1855@polaris.utu.fi>
Organization: University of Turku, Computing Centre
References: <1992Nov25.155539.4490@bmerh85.bnr.ca>
Date: Wed, 25 Nov 92 17:44:29 GMT
Lines: 27