AND (binary)

From veswiki
Jump to: navigation, search

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


You would get:


Because only those two bits are true (1) in both bytes. The F8 can only AND two bytes at a time.

See Also