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

Difference between revisions of "Bitwise math/Operators/NOT"

From NetSec
Jump to: navigation, search
(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...")
 
(No difference)

Revision as of 07:17, 19 July 2012

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.