$\begin{array}{1 1}M+X\rightarrow M^++X^-\text{ is the spontaneous reaction}\\M^++X^-\rightarrow M+X\text{ is the spontaneous reaction}\\E_{cell}=0.77V\\E_{cell}=-0.77V\end{array} $