Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!tektronix!tekcrl!tekgvs!larryh
From: larryh@tekgvs.TEK.COM (Larry Hutchinson)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Bug in MPW C 2.0.2 (PEA instead of PUSH.L)
Keywords: mpw c bug
Message-ID: <3630@tekgvs.TEK.COM>
Date: 24 Jun 88 21:49:22 GMT
References: <1988Jun22.112228.462@mntgfx.mentor.com> <16163@tut.cis.ohio-state.edu>
Reply-To: larryh@tekgvs.UUCP (Larry Hutchinson)
Organization: Tektronix, Inc., Beaverton,  OR.
Lines: 15

In article <16163@tut.cis.ohio-state.edu> elwell@saqqara.cis.ohio-state.edu (Clayton Elwell) writes:
-Well, I wouldn't say you are being stupid, but a PEA of an absolute
-address just pushes that address onto the stack.  The PEA instruction
-takes the same amount of space as a MOVE.L, but on at least the 68020
-it can take less time (1 clock less for worst case).  I suspect that


PEA of a short address (+/- 32k) takes two words while a MOVE.L takes
three, so this is a win on any 68k processor.


Larry Hutchinson, Tektronix, Inc. PO Box 500, MS 50-383, Beaverton, OR 97077
UUCP:   [uunet|ucbvax|decvax|ihnp4|hplabs]!tektronix!tekgvs!larryh
ARPA:   larryh%tekgvs.TEK.COM@RELAY.CS.NET
CSNet:  larryh@tekgvs.TEK.COM