The results showed that hyperglycemia could significantly reduce cardiac function, significantly damage myocardial ultrastructure, increase the content of MDA in myocardial tissue, reduce the activities of SOD and GSH Px, and increase the mRNA expression of CHOP, GRP78, and caspase-12, while NaHS reversed these changes. This evidence concerns the gene CASP12 and Hyperglycemia.