Logo Search packages:      
Sourcecode: mingw-w64 version File versions  Download package

bittestc.c
#include <intrin.h>

unsigned char _bittestandcomplement(long *Base, long Offset)
{
  int old = 0;
  __asm__ __volatile__("btcl %2,%1\n\tsbbl %0,%0 "
    :"=r" (old),"=m" ((*(volatile long *) Base))
    :"Ir" (Offset));
  return (old != 0);
}


Generated by  Doxygen 1.6.0   Back to index