# 📖⚡ANDNOT (Binary Bits)

# Applies logical ANDNOT to the BITS of 2 binary values.

### Syntax

*LET ResultVariable = Value1 ANDNOT Value2*

### Example

*LET B0 = %11110000 ANDNOT %10101010*

```
' AndNot (Binary Bits) Example
' AndNot.txt
' Kic8
' The result will have 1 in a column as long as:
' First row has 1
' Second row has 0
' Result = a and (not b)
' 11110000
' 10101010 OR
' = 01010000
LET B0 = %11110000 ANDNOT %10101010
```