The configuration below shows how to use the 7400 as a NOR function. The circuit is TTL and must be powered with 5V.