If you have a code book see Article 336-5 Uses not permitted (for starters) and it lists a number of things. I'm not a good typer and it would take awhile to type out all of them - maybe someone else has it on Cd and can paste it here.

336-4. Uses PermittedType NM, Type NMC, and Type NMS cables shall be permitted to be used in the following:1. One- and two-family dwellings2. Multifamily dwellings and other structures, except as prohibited in Section 336-53. Cable trays, where the cables are identified for the useFPN: See Section 310-10 for temperature limitation of conductors.(a) Type NM. Type NM cable shall be permitted for both exposed and concealed work in normally dry locations. It shall be permissible to install or fish Type NM cable in air voids in masonry block or tile walls where such walls are not exposed or subject to excessive moisture or dampness.(b) Type NMC. Type NMC cable shall be permitted as follows:1. For both exposed and concealed work in dry, moist, damp, or corrosive locations2. In outside and inside walls of masonry block or tile3. In a shallow chase in masonry, concrete, or adobe protected against nails or screws by a steel plate at least 1/16-in. (1.59-mm) thick, and covered with plaster, adobe, or similar finish(c) Type NMS. Type NMS cable shall be permitted for both exposed and concealed work in normally dry locations. It shall be permissible to install or fish Type NMS cable in air voids in masonry block or tile walls where such walls are not exposed or subject to excessive moisture or dampness. Type NMS cable shall be used as permitted in Article 780. 336-5. Uses Not Permitted(a) Types NM, NMC, and NMS. Types NM, NMC, and NMS cables shall not be used in the following:1. In any multifamily dwelling or other structure exceeding three floors above gradeFor the purpose of this article, the first floor of a building shall be that floor that has 50 percent or more of the exterior wall surface area level with or above finished grade. One additional level that is the first level and not designed for human habitation and used only for vehicle parking, storage, or similar use shall be permitted.2. As service-entrance cable3. In commercial garages having hazardous (classified) locations as provided in Section 511-34. In theaters and similar locations, except as provided in Article 518, Places of Assembly5. In motion picture studios6. In storage battery rooms7. In hoistways8. Embedded in poured cement, concrete, or aggregate9. In any hazardous (classified) location, except as permitted by Sections 501-4(b), Exception, 502-4(b), Exception, and 504-20(b) Types NM and NMS. Types NM and NMS cable shall not be installed in the following:1. Where exposed to corrosive fumes or vapors2. Where embedded in masonry, concrete, adobe, fill, or plaster3. In a shallow chase in masonry, concrete, or adobe and covered with plaster, adobe, or similar finish