Careful studies of coupling show that transmittance power between microring and waveguide is dependant to field intensity. Also more researches show that optical multistable behavior of microring had been affected by nonlinear power coupling efficiency in high field intensities. Operation of microring in nonlinear regions can be so useful in designing all optical switches and control techniques. In this paper has been proposed an all-optical flip-flop based on nonlinear treatment of microring