<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>


Words in category Logical Words in glossary TurboForth Kernal

Search:
The following words are listed in this category (6 words found): Word Types: S = Standard, I = Immediate , IC = Immediate-compiling.
Word Name Word Type Data Stack Signature Return Stack Signature Description Availability
V1.0 V1.1 V1.2
<< S a count -- b -- Shifts a count bits to the left, resulting in b.
>> S a count -- b -- Shifts a count bits to the right, resulting in b.
AND S a b -- a&&b -- Replaces a and b with their logical AND.
NOT S a -- ~a -- Performs a bit-wise inversion (1's complement) on a.
OR S a b -- a||b -- Replaces a and b with their logical OR.
XOR S a b -- xor(a,b) -- Replaces a and b with their logical XOR (exclusive OR).

<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>