aboutsummaryrefslogtreecommitdiff
path: root/src/c-st-ext.adoc
diff options
context:
space:
mode:
authorBill Traynor <wmat@riscv.org>2023-08-16 11:44:55 -0400
committerBill Traynor <wmat@riscv.org>2023-08-16 11:44:55 -0400
commit6c4771b534d748b1b062d8e8b4156719ebc4fe34 (patch)
tree245b25a1eaf592250337f0245771047465f0dc6d /src/c-st-ext.adoc
parent8e1be6784122e976c19ccbed446b0a4545ca629d (diff)
downloadriscv-isa-manual-6c4771b534d748b1b062d8e8b4156719ebc4fe34.zip
riscv-isa-manual-6c4771b534d748b1b062d8e8b4156719ebc4fe34.tar.gz
riscv-isa-manual-6c4771b534d748b1b062d8e8b4156719ebc4fe34.tar.bz2
Fix C.ADDI16SP
Updates to match LaTeX paragraph for C.ADDI16SP
Diffstat (limited to 'src/c-st-ext.adoc')
-rw-r--r--src/c-st-ext.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c-st-ext.adoc b/src/c-st-ext.adoc
index 5ee4e10..62dfaa7 100644
--- a/src/c-st-ext.adoc
+++ b/src/c-st-ext.adoc
@@ -611,8 +611,8 @@ C.ADDI16SP shares the opcode with C.LUI, but has a destination field of
value in the stack pointer (`sp=x2`), where the immediate is scaled to
represent multiples of 16 in the range (-512,496). C.ADDI16SP is used to
adjust the stack pointer in procedure prologues and epilogues. It
-expands into `addi x2, x2, imm`. C.ADDI16SP is only valid when
-_imm_≠0; the code point with _imm_=0 is reserved.
+expands into `addi x2, x2, nzimm[9:4]`. C.ADDI16SP is only valid when
+_nzimm_≠0; the code point with _nzimm_=0 is reserved.
[NOTE]
====