Date: Sun, 18 Jul 1999 15:46:45 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Martin Str|mberg , bas DOT hamstra AT wxs DOT nl cc: djgpp AT delorie DOT com Subject: Re: LastBit() In-Reply-To: <7mscaa$k7q$2@news.luth.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 18 Jul 1999, Martin Str|mberg wrote: > b) Not sure (am not an assembly guy). But how about checking the > correct first half first and not finding anything, check the > second half (all in assebler)? I think library function `ffs' should do the trick. It's already written in assembly, so it should be fast enough, and it is only a few instructions long.