Questions about this topic? Sign up to ask in the talk tab.

Bitwise math/Operators/NOT

From NetSec
Revision as of 02:25, 19 July 2012 by GertieUbpgdd (Talk | contribs) (Created page with "<noinclude>{{subpage|Bitwise math}}</noinclude> '''NOT''' is a bitwise operator that takes only ONE operand. It inverts or reverses the binary value. Example: A = 1010 in bi...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
back to Bitwise math


NOT is a bitwise operator that takes only ONE operand. It inverts or reverses the binary value.

Example:

 A = 1010 in binary or 10 in decimal. NOT A results in the inversion of 1010 which is 0101. Therefore NOT A = 5.