Three codons in the genetic code tell the cell to stop adding amino acids to a protein because the end of the gene has been reached. In a nonsense mutation, a codon that stands for an amino acid mutates to one of these three stop codons. (The term "nonsense mutation" is used because the stop codon has "no sense" for an amino acid—as opposed to a "missense mutation," in which the resulting codon has the "wrong sense" for an amino acid.) Nonsense mutations cause the protein to be cut off early and therefore incomplete, which usually renders it non-functional. Cystic fibrosis is a disease caused by a nonsense mutation.
A stop-codon mutation is the opposite of a nonsense mutation: it changes a stop codon into a codon for an amino acid, causing the protein to become too large. The added section may consist of part of another protein from the genome—or it may be complete "gibberish," if the addition comes from a non-coding region of DNA. This lesser-known type of mutation, like a nonsense mutation, generally renders its protein non-functional, and may even result in a harmful protein. A rare disease called familial British dementia is caused by a stop-codon mutation that causes mutated amyloid protein to "clog" the brain (see Nature vol. 399 (1999), pp. 776-781).