🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #731

Re: Help: Simple gas 68k Question

#731
From: John Clark
Date: Thu, 31 Dec 1992 01:18
15 lines
1354 bytes
In article <1992Nov25.155539.4490@bmerh85.bnr.ca> 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".

Gas does not conform to the Motorola standard opcode syntax. It is derived
'mit as', which is as old as the hills. Usually, I have resorted to writing
translator from XYZ.AS to gas, which unfortunately requires some hand massaging
to fully translate(well if I wrote a translator to do the whole thing I could
have just as well written the binary code generator and been done with the
whole mess.)

The problem is excaberated if the 'source' is frequently updated and
retranslation is required. Of course a 'Motorola' option to gas would fix a
Technical Details
Message-ID: <1992Dec31.011801.15551@synergy.encinitas.ca.us>
Path: arc1-ca.pugleaf.net!sparky!uunet!nntp1.radiomail.net!fernwood!synergy!clark
References: <1992Nov25.155539.4490@bmerh85.bnr.ca>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!nntp1.radiomail.net!fernwood!synergy!clark
From: clark@synergy.encinitas.ca.us (John Clark)
Subject: Re: Help: Simple gas 68k Question 
Message-ID: <1992Dec31.011801.15551@synergy.encinitas.ca.us>
Organization: Synergy Microsystems, Inc. CA. USA
References: <1992Nov25.155539.4490@bmerh85.bnr.ca>
Date: Thu, 31 Dec 1992 01:18:01 GMT
Lines: 15