research/bit_copy.c
void printCharBin( char *v, size_t sz )
{
	size_t n,x;

	printf( "MEM: " );
	for (n=0; n<sz; n++)
	{
		for (x=NB; x>0; x--)
			printf( "%d", (*v >> (x-1) & 0x01) ? 1 : 0 );
		printf( " " );
		v++;
	}
	printf( "\n" );
}
// Prints a binary representation of a number as in memory.
Prints a binary representation of a number as in memory.
Prints a binary representation of a number as in memory .
void printCharBin( char *v, size_t sz )
{
	size_t n,x;
	printf( "MEM: " );
	for (n=0; n<sz; n++)
	{
		for (x=NB; x>0; x--)
			printf( "%d", (*v >> (x-1) & 0x01) ? 1 : 0 );
		printf( " " );
		v++;
	}
	printf( "\n" );
}
void printCharBin ( char * v , size_t sz ) { size_t n , x ; printf ( " " ) ; for ( n = 0 ; n < sz ; n ++ ) { for ( x = NB ; x > 0 ; x -- ) printf ( " " , ( * v >> ( x - 1 ) & 0x01 ) ? 1 : 0 ) ; printf ( " " ) ; v ++ ; } printf ( " \n " ) ; }
Prints a binary representation of a number as in memory.
Prints a binary representation of a number as in memory .