OR  ( n1 n2 -- n3 )

published: 9 January 2022 / updated 16 February 2022

Lire cette page en français

 

vocabulary: forth

Execute logic OR.

The words AND, OR, and XOR perform operations binary bitwise logic on single-precision integers at the top of the data stack.

Example:

0  -1    or  .  \ display 0 
0  -1    or  .  \ display -1 
-1   0   or  .  \ display -1 
-1   -1  or  .  \ display -1 

Legal: site web personnel sans commerce / personal site without seling