OR (binary)

From veswiki
(Redirected from Or (binary))
Jump to: navigation, search

To OR one value with another is to compare the bits of each value, and keep the ones which are true in either value. For example, if you OR'd these values:


You would get:


Because those bits are true in either the first value, or the second one. The F8 can only OR two bytes at a time.

See Also