Command: BTC - Bit Test
Arguments: SRC: register; INDEX: index of a bit in SRC
Usage: BTC SRC,INDEX
Effects: Tests one bit of its first operand, whose index is given by the second operand, and stores the value of that bit into the carry flag. Bit indices are from 0 (least significant) to 15 or 31 (most significant). BTC also complements the bit in the first operand.
Flags to be set: CF=bit with given index