<filename>doc/manual/insns/ADC.tex
\begin{instruction}{ADC}{Add Register with Carry}
  \begin{encoding}
    \mnemonic & \op{5}{00010} & \reg{d} & \reg{a} & \op{2}{01} & \reg{b} \\
  \end{encoding}
  \assembly{\mnemonic{} Rd, Ra, Rb}
  \purpose{To add 16-bit integers in registers, with carry input.}
  \restrictions{None.}
  \begin{operation}\aluRR{opA + opB + C}\wb\flagZSCV\end{operation}
\begin{remarks}
A 32-bit addition with both operands in registers can be performed as follows:
\begin{alltt}
; Perform \string{R1, R0\string} ← \string{R3, R2\string} + \string{R5, R4\string}
    ADD  R0, R2, R4
    ADC  R1, R3, R5
\end{alltt}
\end{remarks}
\end{instruction}
