Operacions bit a bit

Les operacions bit a bit es poden calcular usant els següents operadors.

The result of some operations depend on the word size. To set the word size, press the menu button in the top-right corner of the window and select Preferences.

Buttons for the following symbols and to set the word size are available in programming mode.

Bitwise conjunction can be calculated using the ∧ or AND operators.

010011₂ ∧ 110101₂

010011₂ AND 110101₂

La disjunció bit a bit es pot calcular utilitzant els operadors ∨ o OR.

010011₂ ∨ 110101₂

010011₂ OR 110101₂

La disjunció exclusiva bit a bit es pot calcular utilitzant els operadors ⊻, ⊕ o XOR.

010011₂ ⊻ 110101₂

010011₂ XOR 110101₂

Bitwise complement for the set word size can be calculated using the ¬, ~ or NOT operators.

¬ 010011₂

NOT 010011₂

Bitwise alternative denial for the set word size can be calculated using the ⊼ or NAND operators.

010011₂ ⊼ 110101₂

010011₂ NAND 110101₂

Bitwise joint denial for the set word size can be calculated using the ⊽ or NOR operators.

010011₂ ⊽ 110101₂

010011₂ NOR 110101₂

Bitwise biconditional for the set word size can be calculated using the ⊙, XNOR or NXOR operators.

010011₂ ⊙ 110101₂

010011₂ XNOR 110101₂