aboutsummaryrefslogtreecommitdiff
path: root/src/c.tex
diff options
context:
space:
mode:
Diffstat (limited to 'src/c.tex')
-rw-r--r--src/c.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c.tex b/src/c.tex
index 3e06082..78eb361 100644
--- a/src/c.tex
+++ b/src/c.tex
@@ -742,7 +742,7 @@ format and can target any integer register.
\hline
3 & 1 & 5 & 5 & 2 \\
C.LI & imm[5] & dest$\neq$0 & imm[4:0] & C1 \\
-C.LUI & nzuimm[17] & $\textrm{dest}{\neq}{\left\{0,2\right\}}$ & nzuimm[16:12] & C1 \\
+C.LUI & nzimm[17] & $\textrm{dest}{\neq}{\left\{0,2\right\}}$ & nzimm[16:12] & C1 \\
\end{tabular}
\end{center}
C.LI loads the sign-extended 6-bit immediate, {\em imm}, into
@@ -754,7 +754,7 @@ destination register, clears the bottom 12 bits, and sign-extends bit
17 into all higher bits of the destination. C.LUI is only valid when
$\textit{rd}{\neq}{\left\{\texttt{x0},\texttt{x2}\right\}}$,
and when the immediate is not equal to zero.
-C.LUI expands into {\tt lui rd, nzuimm[17:12]}.
+C.LUI expands into {\tt lui rd, nzimm[17:12]}.
\subsection*{Integer Register-Immediate Operations}