Article View: comp.sys.atari.st
Article #38584Re: assemblers
From: David Brooks
Date: Mon, 08 May 1989 04:57
Date: Mon, 08 May 1989 04:57
20 lines
1287 bytes
1287 bytes
In article <1480@atari.UUCP> apratt@atari.UUCP (Allan Pratt) writes: [...] >Lastly, AS68 makes at least one illegal optimization. Assuming that a >missing size modifier means the same as .w, the optimization > > move #1,d0 --> moveq.l #1,d0 > >which AS68 does is illegal. MadMac does moveq, addq, and subq >optimization correctly. I'd always thought of the <opcode-without-qualifier> as "Here, assembler, I don't care about the most significant three bytes; you do whatever's best". (hacker's note: moveq.l is faster than the other forms of move-literal; it sign-extends one byte across the whole long). If I *do* care, I get specific. -- David Brooks dbrooks@osf.org Open Software Foundation uunet!osf.org!dbrooks 11 Cambridge Center Personal views, not necessarily those Cambridge, MA 02142, USA of OSF, its sponsors or members.
Technical Details
Message-ID:
<775@osf.OSF.ORG>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!husc6!osf!dbrooksReferences:
<1837@blake.acs.washington.edu> <534@TSfR.UUCP> <99@sdcc10.ucsd.EDU> <1480@atari.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!husc6!osf!dbrooks From: dbrooks@osf.OSF.ORG (David Brooks) Newsgroups: comp.sys.atari.st Subject: Re: assemblers Message-ID: <775@osf.OSF.ORG> Date: 8 May 89 04:57:53 GMT References: <1837@blake.acs.washington.edu> <534@TSfR.UUCP> <99@sdcc10.ucsd.EDU> <1480@atari.UUCP> Reply-To: dbrooks@osf.org (David Brooks) Organization: Open Software Foundation Lines: 20