Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!uw-beaver!mit-eddie!bu-cs!mirror!frog!john From: john@frog.UUCP (John Woods) Newsgroups: comp.sys.m68k Subject: Re: addq.w #n,sp and a pop quiz Keywords: C asm addq Message-ID: <1324@X.UUCP> Date: 20 Dec 88 13:27:00 GMT References: <5005@bsu-cs.UUCP> <5460@cbmvax.UUCP> <1100@ncar.ucar.edu> <1737@oakhill.UUCP> Distribution: na Organization: Servants of the Great White Frog Lines: 22 In article <1737@oakhill.UUCP>, davet@oakhill.UUCP (David Trissel) writes: > > Instructions depending on esoteric architectural features such as the above > separate the men from the boys. Here's another one: > When I first glanced at my screen, I read the above as "separate the men from the bugs." I was going to post a comment about such trivia JOINING the men and the bugs, but decided not to. > There is only one place in the instruction set where a data register is > implicitly sign-extended. Where? > And when I saw various people's complaints about how they discovered the non-intuitive solution to this pop quiz the hard way, I decided to go ahead and post it anyway. The answer to such silliness seems to be RISC. -- John Woods, Charles River Data Systems, Framingham MA, (508) 626-1101 ...!decvax!frog!john, john@frog.UUCP, ...!mit-eddie!jfw, jfw@eddie.mit.edu Go be a `traves wasswort. - Doug Gwyn