Path: utzoo!attcan!uunet!cbmvax!jesup From: jesup@cbmvax.UUCP (Randell Jesup) Newsgroups: comp.sys.amiga.tech Subject: Re: Adjusting the stack pointer Keywords: assembler A7 SP Message-ID: <5569@cbmvax.UUCP> Date: 23 Dec 88 00:17:53 GMT References: <5047@garfield.MUN.EDU> <1667@fbog.UUCP> Reply-To: jesup@cbmvax.UUCP (Randell Jesup) Distribution: na Organization: Commodore Technology, West Chester, PA Lines: 16 In article <1667@fbog.UUCP> dbk@fbog.UUCP (Dave B. Kinzer @ Price Rd. GEG) writes: >In article <5047@garfield.MUN.EDU> john13@garfield.MUN.EDU (John Russell) writes: >>Manx-generated code uses the form >>addq.w #(4*N),sp >> ^ vs: >>addq.l #(4*N),sp >> ^ > The Manx generated code is faster (fewer instruction fetches from memory). Actually no, since addq can only deal with immediates between 1 and 8. Of course, this is probably another case of the Manx assembler output being misleading, and the assembler changes that to an adda.w. -- Randell Jesup, Commodore Engineering {uunet|rutgers|allegra}!cbmvax!jesup