Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ukma!gatech!mcdchg!fbog!dbk From: dbk@fbog.UUCP (Dave B. Kinzer @ Price Rd. GEG) Newsgroups: comp.sys.amiga.tech Subject: Re: Adjusting the stack pointer Summary: Instruction timing summary Keywords: assembler A7 SP Message-ID: <1690@fbog.UUCP> Date: 27 Dec 88 19:50:15 GMT References: <5047@garfield.MUN.EDU> <1667@fbog.UUCP> <5569@cbmvax.UUCP> <1688@fbog.UUCP> <1689@fbog.UUCP> Reply-To: dbk@fbog.UUCP (Dave B. Kinzer @ Price Rd. GEG) Distribution: na Organization: Motorola Microcomputer Division, Tempe, Az. Lines: 16 For a 68010, the instructions: addq.w #d,An addq.l #d,An Have equivalent timings, as verified on a 68010 machine here at work, regardless of what the manual says. Incidentally, for displacements greater than 8 but less than 32768, a better instruction is: lea.l d(An),An This instruction works faster than 'add.w #d,An'. | // GOATS - Gladly Offering All Their Support Dave Kinzer (602)897-3085| | // >> In Hell you need 4Mb to Multitask! << uunet!nud!fbog!dbk | | \X/ #define policy_maker(name) (name->salary > 3 * dave.salary) |