Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site gloria.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!rochester!rocksanne!sunybcs!gloria!colonel From: colonel@gloria.UUCP (George Sicherman) Newsgroups: net.lang.c Subject: Re: reversing a mask Message-ID: <691@gloria.UUCP> Date: Tue, 20-Nov-84 11:34:59 EST Article-I.D.: gloria.691 Posted: Tue Nov 20 11:34:59 1984 Date-Received: Sun, 25-Nov-84 08:46:19 EST References: <1@imd.UUCP> <469@ncoast.UUCP> Organization: SUNY-Buffalo Confuser Science Lines: 13 [Yuk! Why would you want to eat THAT?] > Ummm... it's easy to push the register mask when you moveml the registers > to be saved on entry to a subroutine in the 68000, but moveml mask,(a7)- > and moveml mask,(a7)+ expect the mask reversed from each other! How > do you propose to invert a 16-bit mask end-for-end (i.e. 11100...001 > <=> 100...00111 ) and still have a fast calling sequence? What's the fastest way to reverse a 16-bit mask in C? In 68000 asl? (Maybe this should be in net.puzzle!) -- Col. G. L. Sicherman ...seismo!rochester!rocksanne!rocksvax!sunybcs!gloria!colonel