LZ: Bit comparison


[Prev][Next][Index][Thread]

LZ: Bit comparison



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