In the reactions of α cyanocinnamonitrile or β cyano β carbo~thoxy styrene with 5,5 dimethyl 1,3 cyclohexanedione in the presence of ammonium acetate under microwave irradiation without solvent, the 2 amino 5,6,7,8 tetrahydro 5 oxo 4 aryl 7,7 dimethyl 4H benzo pyran derivatives were obtained. However, in the reactions of arylidenecyanoacetamide with 5,5 dimethyl 1,3 cyclohexanedione under the same reaction conditions, the acridine derivatives were obtained. The structures of the products were determined by single crystal X ray diffraction analysis.