code: function BIT() {
  		var value = read(),
  			t = A & value;
  		flagN = ( value & 0x80 ) && 1;
  		flagV = ( value & 0x40 ) && 1;
  		flagZ = +( t === 0 );
  	}
docs: Test bits in memory.
  Opcodes: 0x24, 0x2c
  BIT sets the Z flag as though the value in the address tested were ANDed with
  the accumulator. The S and V flags are set to match bits 7 and 6 respectively
  in the value stored at the tested address.