From 6c4771b534d748b1b062d8e8b4156719ebc4fe34 Mon Sep 17 00:00:00 2001 From: Bill Traynor Date: Wed, 16 Aug 2023 11:44:55 -0400 Subject: Fix C.ADDI16SP Updates to match LaTeX paragraph for C.ADDI16SP --- src/c-st-ext.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/c-st-ext.adoc') 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] ==== -- cgit v1.1