代码搜索:Bit
找到约 10,000 项符合「Bit」的源代码
代码结果 10,000
www.eeworm.com/read/431167/8707038
h 16bit.h
/******************************************************************************
*
* Module Name: 16bit.h - 16-bit support
*
************************************************************************
www.eeworm.com/read/431037/8712073
m encode_bit.m
function [output, state] = encode_bit(g, input, state)
% Copyright 1996 Matthew C. Valenti
% MPRG lab, Virginia Tech
% for academic use only
% This function takes as an input a single bit to be encod
www.eeworm.com/read/286954/8735068
c bit2.c
# include
void main()
{
unsigned a, b, c, d;
int n;
a = 64;
n = 2;
/* 将操作数a右移(6-n)位 */
b = a >> (6-n);
printf("b = %d\n", b);
/* 将操作数a左移n位 */
c = a
www.eeworm.com/read/286954/8735103
c bit1.c
# include
void main()
{
/* 定义了一个无符号字符型变量,此变量只能用来存储无符号数 */
unsigned char result;
int a, b, c, d;
a = 2;
b = 4;
c = 6;
d = 8;
/* 对变量进行“按位与”操作 */
result = a & c;
www.eeworm.com/read/286953/8736057
c bit_xor.c
#include
void main ()
{
printf("0 ^ 0 is %d\n", 0 ^ 0);
printf("0 ^ 1 is %d\n", 0 ^ 1);
printf("1 ^ 1 is %d\n", 1 ^ 1);
printf("1 ^ 2 is %d\n", 1 ^ 2);
printf("15 ^
www.eeworm.com/read/286953/8736084
c bit_inv.c
#include
void main ()
{
int value = 0xFF;
printf("The inverse of %X is %X\n", value, ~value);
}
www.eeworm.com/read/341198/8759069
uv2 bit.uv2
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (bit), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,1,
Options 1,0,0 // Target 'bit'
Dev
www.eeworm.com/read/429968/8777465
m output_bit.m
function output_bit(bit)
global bits_to_go buffer output
format long
buffer=fix(buffer*2^-1); % Equivalent to right shift
if(bit),buffer=bitor(buffer,128);end
bits_to_go=bits_to_go-1;
if
www.eeworm.com/read/429968/8777533
m input_bit.m
function t=input_bit
format long
global fid bits_to_go garbage_bits buffer code_value_bits
persistent ii
if(isempty(ii)),ii=1;end
if(bits_to_go==0)
buffer=fread(fid,1);
if feof(fid)
www.eeworm.com/read/429465/8807660
uv2 bit.uv2
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (bit), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,1,
Options 1,0,0 // Target 'bit'
Dev