Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hpl-opus!hpccc!hp-sde!hpdml93!jlyle From: jlyle@hpdml93.HP.COM (Jeff Lyle) Newsgroups: comp.sys.m68k Subject: Re: addq.w #n,sp and a pop quiz Message-ID: <3460001@hpdml93.HP.COM> Date: 12 Dec 88 22:00:41 GMT References: <1737@oakhill.UUCP> Organization: HP Disk Memory Division - Boise, ID Lines: 16 > Instructions depending on esoteric architectural features such as the above > separate the men from the boys. Here's another one: Or working code from code with features??? > There is only one place in the instruction set where a data register is > implicitly sign-extended. Where? > > -- Dave Trissel Motorola Semiconductor, Austin Texas The MOVEM.W instruction has the rather NASTY feature of sign extending its data when the destination is a register. Yes it IS documented in the fine print. No, I did not read the fine print before discovering this! - Jeff Lyle (hpdmlac)