private void BTX(ushort operand)
{
ushort value;
RegGeneral destination;
BitPatternBTI(operand, out value, out destination);
ushort bit = (ushort)Math.Pow(2, value);
if ((R[(int)destination] & bit) != 0) {
FL_Z = false;
FL_C = true;
}
else {
FL_Z = true;
FL_C = false;
}
R[(int)destination] ^= bit;
}