Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.UUCP (Guy Harris) Newsgroups: comp.sys.m68k Subject: Re: Why does addq.w #n,sp work? Keywords: C asm addq Message-ID: <671@auspex.UUCP> Date: 10 Dec 88 21:49:41 GMT References: <5005@bsu-cs.UUCP> <5460@cbmvax.UUCP> <1100@ncar.ucar.edu> <23329@cornell.UUCP> <1110@ncar.ucar.edu> Reply-To: guy@auspex.UUCP (Guy Harris) Distribution: na Organization: Auspex Systems, Santa Clara Lines: 13 >> Untrue. The addq instruction has its data in the instruction word. >>It can only be used to add values 1 thru 8, so it only needs 3 bits. That's >>why people use it. > >No, it is true. Compare: > > addq.w #8, a7 (2 bytes) > add.w #8, a7 (4 bytes) No, it is not true. The statement being referred to is the claim that "addq.l #8,a7" takes two more bytes than "addq.w #8,a7"; "add.w" and "add.l" don't enter into it.