🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #124

Help needed with inline assembly

#124
From: Graham Heyes
Date: Thu, 06 Aug 1992 14:10
32 lines
1816 bytes
This is probably a frequently asked question but I don't
usually have time to follow this newsgroup so here goes.

I am using a gcc cross compiler to produce 68020 executable
code, I have been working with Gnu C for a couple of years
and am quite happy with it. Unfortunately I have to tweak 
some of the cpu intensive loops and need to insert some 
assembly code.

	The intermediary assembly code produced by our 
compiler seems to be in Sun format, I think, but not having
a Sun I can't check. Unfortunately our dissassebmler and my
brain both work in a different mnemonic format, standard 
Motorola format I suppose since that is what appears in the 
68020 manual (move.l instead of movl etc).

	So simply put is there a version of the gnu C compiler 
for the 680x0 which will eat and produce the mnemonics as 
they appear in the 68020 User's Manual?

	Failing that does anyone have a listing of the 
mnemonics that the compiler will eat/produce so that I can
reconfigure my brain to correspond to the compiler.

	Many thanks
-------------------------------------------------------------------------------
	Graham Heyes					CEBAF
							Physics Division MS 12H
Internet: heyes@dadev.cebaf.gov			        12000 Jefferson Ave
DECnet  : dadev::heyes, cebaf::heyes			Newport News VA 23606
BITNET  : heyes@cebaf					Tel: (804) 249-7030
Technical Details
Message-ID: <HEYES.92Aug6091024@dadev.cebaf.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!mips!darwin.sura.net!uvaarpa!murdoch!murdoch.acc.virginia.edu!heyes

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!mips!darwin.sura.net!uvaarpa!murdoch!murdoch.acc.virginia.edu!heyes
From: heyes@dadev.cebaf.gov (Graham Heyes)
Newsgroups: gnu.gcc.help
Subject: Help needed with inline assembly
Message-ID: <HEYES.92Aug6091024@dadev.cebaf.gov>
Date: 6 Aug 92 14:10:24 GMT
Sender: usenet@murdoch.acc.Virginia.EDU
Distribution: gnu.gcc.help
Organization: Continuous Electron Beam Accelerator Facility
Lines: 32