Article View: gnu.gcc.help
Article #54MC680xy ports of gcc
From: Mike Osborne
Date: Mon, 03 Aug 1992 12:34
Date: Mon, 03 Aug 1992 12:34
28 lines
1467 bytes
1467 bytes
I am trying to make gcc work with a 680xy assembler which has a minor problem
with move instructions. It cannot cope with instructions of the form:
move.l d0,a0
Now this is fair enough as it is not a legal instruction, but to quote from
Ford and Topp - MC68000 Assembly Language and Systems Programming
the section on the MOVE instruction says "MOVEA is used when the destination
is an address register. Most assemblers automatically make this distinction"
Needless to say, the assembler in question does not make this distinction.
Before I go ahead and do it myself, does anyone out there have a version of
m68k.md that handles this ? Or do you know where I can find one ?
Thanks
Mike
--
Michael Osborne Internet: mlo@dcs.qmw.ac.uk
Computer Science Department JANET: mlo@uk.ac.qmw.dcs
Queen Mary & Westfield College
Mile End Road Telephone: +44 71-975 5244/5/9
LONDON, E1 4NS, UK Fax: +44 81-980 6533
Technical Details
Message-ID:
<1992Aug3.123450.6842@dcs.qmw.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!qmw-dcs!mloShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!qmw-dcs!mlo From: mlo@dcs.qmw.ac.uk (Mike Osborne) Newsgroups: gnu.gcc.help Subject: MC680xy ports of gcc Summary: Question about porting gcc Keywords: gcc 68000 gnu Message-ID: <1992Aug3.123450.6842@dcs.qmw.ac.uk> Date: 3 Aug 92 12:34:50 GMT Sender: usenet@dcs.qmw.ac.uk (Usenet News System) Organization: Computer Science Dept, QMW, University of London Lines: 28 Nntp-Posting-Host: gin.dcs.qmw.ac.uk