Denso Power Net Terminal BHT-103 Especificações Página 91

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 577
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 90
Chapter 6. Expressions and Operators
83
[ 2 ] The AND operator
The AND operator ANDs the same order bits in two expressions on either side of the operator,
then sets 1 to the resultant bit if both of these bits are 1.
Syntax:
expression1 AND expression2
Truth Table for AND
[ 3 ] The OR operator
The OR operator ORes the same order bits in two expressions on either side of the operator,
then sets 1 to the resultant bit if at least one of those bits is 1.
Syntax:
expression1 OR expression2
Truth Table for OR
[ 4 ] The XOR operator
The XOR operator XORes the same order bits in two expressions on either side of the opera-
tor, then sets the resultant bit according to the truth table below.
Syntax:
expression1 XOR expression2
Truth Table for XOR
Bit in Expression 1 Bit in Expression 2
Resultant Bit
0
0
1
1
0
1
0
1
0
0
0
1
Bit in
Expression 1 Bit in Expression 2
Resultant Bit
0
0
1
1
0
1
0
1
0
1
1
1
Bit in
Expression 1 Bit in Expression 2
Resultant Bit
0
0
1
1
0
1
0
1
0
1
1
0
Vista de página 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 ... 576 577

Comentários a estes Manuais

Sem comentários