LZ: Bit comparison
[Prev][Next][Index][Thread]
LZ: Bit comparison
-
Subject: LZ: Bit comparison
-
From: Michael <mikep@anet-dfw.com>
-
Date: Sat, 16 Nov 1996 23:43:29 GMT
-
In-Reply-To: <>
is there an easy way to do a bit comparison operation. i don't think
the BIT operation is exactly what i am looking for. to my
understanding, BIT 3,A will be equivalent to A & 00000100.
what i want to do is have a value in register A, such as 10001011 and
then look at the 4th bit and test to see if it is a 0 or 1. in other
words, my input will possibly have more than one 1 in it. can anyone
help?
-mike