Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn ) Newsgroups: net.lang.c Subject: Re: reversing a mask Message-ID: <6054@brl-tgr.ARPA> Date: Sun, 25-Nov-84 14:40:05 EST Article-I.D.: brl-tgr.6054 Posted: Sun Nov 25 14:40:05 1984 Date-Received: Tue, 27-Nov-84 03:56:02 EST References: <1@imd.UUCP> <469@ncoast.UUCP> <691@gloria.UUCP> Organization: Ballistic Research Lab Lines: 6 > What's the fastest way to reverse a 16-bit mask in C? In 68000 asl? I think it is probably to have an array of reversed masks of size 2^16 and use the forward mask as an index into the array. Do I win a prize?