Thema: Delphi was ist xor?

Einzelnen Beitrag anzeigen

Benutzerbild von sakura
sakura

Registriert seit: 10. Jun 2002
Ort: München
11.412 Beiträge
 
Delphi 11 Alexandria
 
#4

Re: was ist xor?

  Alt 1. Apr 2004, 12:56
XOR ist ein "Exklusives logisches Oder"

Die Binärtabelle

Code:
Erstes Bit    1     1     0     0
Zweites Bit   1     0     1     0
   AND     ========================
               1     0     0     0

Erstes Bit    1     1     0     0
Zweites Bit   1     0     1     0
   OR      ========================
               [color=#ff0000]1[/color]    1     1     0

Erstes Bit    1     1     0     0
Zweites Bit   1     0     1     0
   XOR     ========================
               [color=#ff0000]0[/color]    1     1     0
.....,.
Daniel W.
Ich bin nicht zurück, ich tue nur so
  Mit Zitat antworten Zitat