🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #10677

Re: Adjusting the stack pointer

#10677
From: Randell Jesup
Date: Fri, 23 Dec 1988 00:17
16 lines
1069 bytes
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
Technical Details
Message-ID: <5569@cbmvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cbmvax!jesup
References: <5047@garfield.MUN.EDU> <1667@fbog.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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