Disclosed are compounds of formula (I), their tautomeric forms, stereoisomers, and pharmaceutically acceptable salts thereof, wherein R1-R6, R7a-d, R8a-d, A, M, n, and p are as defined in the specification, pharmaceutical compositions including a compound, tautomer, stereoisomer, or salt thereof, and methods of treating or preventing diseases or disorders, for example, cancer, that are amenable to treatment or prevention by inhibiting the PARP enzyme of a subject.