Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!decwrl!labrea!Portia!Jessica!duggie From: duggie@Jessica.stanford.edu (Doug Felt) Newsgroups: comp.sys.m68k Subject: Re: addq.w #n,sp and a pop quiz Keywords: C asm addq cmpa Message-ID: <4350@Portia.Stanford.EDU> Date: 12 Dec 88 17:38:56 GMT References: <5005@bsu-cs.UUCP> <5460@cbmvax.UUCP> <1100@ncar.ucar.edu> <670@auspex.UUCP> <1737@oakhill.UUCP> Sender: news@Portia.Stanford.EDU Reply-To: duggie@Jessica.stanford.edu (Doug Felt) Distribution: na Organization: Stanford University Lines: 20 In article <1737@oakhill.UUCP> davet@oakhill.UUCP (David Trissel) writes: > > [stuff deleted] > >There is only one place in the instruction set where a data register is >implicitly sign-extended. Where? > I believe this instruction is CMPA ,An where a word-length value in the effective address field (possibly a data register) is sign-extended before being compared with the address register. > > -- Dave Trissel Motorola Semiconductor, Austin Texas Doug Felt Courseware Authoring Tools Project Sweet Hall 3rd Floor Stanford University duggie@jessica.stanford.edu