Logo Passei Direto
Buscar
Material
páginas com resultados encontrados.
páginas com resultados encontrados.
left-side-bubbles-backgroundright-side-bubbles-background

Crie sua conta grátis para liberar esse material. 🤩

Já tem uma conta?

Ao continuar, você aceita os Termos de Uso e Política de Privacidade

Prévia do material em texto

Step 1 of 1 9.013E The C program to generate the contents of a 256x8 ROM that converts 8-bit Grey to 8- bit Binary code is as follows: #include #include #include void main() { int b[8]; int i,g[8]; clrscr(); printf("enter 8 bits(0/1) grey code starting from MSB: b[7]=g[7]; b[i]=b[i+1]^g[i]; printf(" The binary code is"); printf("%d",b[i]); getch(); } The output for the program is as follows: Enter 8 bits(0/1) grey code starting from MSB:11011001 The binary code is 10010001.

Mais conteúdos dessa disciplina