NOT
- NOT executes a bit for bit negation of the current value. The output is a 16-Bit-Word.
- Example:
10 value1=1 20 value2=NOT value1 30 PRINT value2 run -2
- for a better understanding...
10 value1=1 20 PRINT HEX$(value1):PRINT BIN$(value1,8) 30 value2=NOT value1 40 PRINT HEX$(value2):PRINT BIN$(value2,8) run 1 00000001 FFFE 1111111111111110