Logical AND Demo


A simple demo demonstrating the power of pure HTML5 and CSS3 by implementing the logical AND function. In this demo register A and B can be set to the equivalent binary that represents an 8-bit integer. After processing, the R register will contain the equivalent binary of the integer equal to A ∧ B (A AND B).

Usage:
  1. Set both register A and register B to the binary representation of two binary integers.
  2. Press the TAB key to go to the first bit in R that needs to be changed.
  3. Press SPACE to set that bit.
  4. Repeat steps 2-3 until none of the bits in R are either yellow, or magenta.
Demo:

A: Hex:

B: Hex:


R: Hex: