Denso BHT-200QW Spécifications Page 90

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 587
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 89
82
[ 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
Bit in Expression 1 Bit in Expression 2 Resultant Bit
0
0
1
1
0
1
0
1
0
0
0
1
[ 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
Bit in Expression 1 Bit in Expression 2 Resultant Bit
0
0
1
1
0
1
0
1
0
1
1
1
[ 4 ] The XOR operator
The XOR operator XORes the same order bits in two expressions on either side of the
operator, 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
1
1
0
Vue de la page 89
1 2 ... 85 86 87 88 89 90 91 92 93 94 95 ... 586 587

Commentaires sur ces manuels

Pas de commentaire