Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/3/84; site talcott.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!teddy!panda!talcott!gjk From: gjk@talcott.UUCP (Greg Kuperberg) Newsgroups: net.micro.68k Subject: Re: Why no INC or DEC Message-ID: <246@talcott.UUCP> Date: Sun, 20-Jan-85 22:26:23 EST Article-I.D.: talcott.246 Posted: Sun Jan 20 22:26:23 1985 Date-Received: Tue, 22-Jan-85 06:31:16 EST References: <242@talcott.UUCP> Distribution: net Organization: Harvard Lines: 15 > Why doesn't the 68000 have increment or decrement instructions? ... > Greg Kuperberg And the answer is (thanx for all the replies) that you can use ADDQ and SUBQ, since those instructions only take up one word. Nevertheless, I wince when I see "ADDQ #1,D0", even if it does have a Q in it. I claim this is a natural tendency, since this kind of thing really is inefficient on other CPU's. I advise making an INC and DEC macro if you also have this tendency. --- Greg Kuperberg harvard!talcott!gjk "Nice boy, but about as sharp as a sack of wet mice." - Foghorn Leghorn