1. A method for testing a memory comprising a plurality of bits, the method comprising: initializing each value in a first register to zero; initialing each bit in the memory to zero; applying a logical OR operation to each bit in the memory with a bit value as a first operand and a corresponding register value in the first register as a second operand; and determining whether a result value of the logical OR operation for any bit in the memory is equal to one.