fixed READ-WORD to use TEMPSPACE
[rrq/rrqforth.git] / adoc / p_0equal.adoc
1 // logic.asm:   WORD p_0equal, '0=',fasm
2
3 anchor:p_0equal[]
4
5 === Word: 0=
6
7 ....
8 Data stack: ( v -- 0/-1 )
9 ....
10
11
12 "0=" is a function word that replaces a value with its logical
13 complement; the result is zero if the value non-zero, and the result
14 is non-zero if the value is zero.
15
16 This is the same function as <<p_not,NOT>>.