First-Principles Evaluation of the Dzyaloshinskii--Moriya Interaction