diff options
author | charlie-rivos <140134457+charlie-rivos@users.noreply.github.com> | 2023-08-03 13:31:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-03 13:31:56 -0700 |
commit | 5302088813806a40627c9893d212c6d4b33f3581 (patch) | |
tree | f32ad1f6c277a1ff3b8194d46ece7b5c933127bd /src/images/bytefield/rvc-instr-quad1.adoc | |
parent | 3a6edf7ebf6af9e6ad92ace865c0069090870c20 (diff) | |
download | riscv-isa-manual-5302088813806a40627c9893d212c6d4b33f3581.zip riscv-isa-manual-5302088813806a40627c9893d212c6d4b33f3581.tar.gz riscv-isa-manual-5302088813806a40627c9893d212c6d4b33f3581.tar.bz2 |
Fix C.ADDI16SP immediate (#1079)
The lower immediate for C.ADDI16SP is [4|6|8:7|5] instead of [4:0]
Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Diffstat (limited to 'src/images/bytefield/rvc-instr-quad1.adoc')
-rw-r--r-- | src/images/bytefield/rvc-instr-quad1.adoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/images/bytefield/rvc-instr-quad1.adoc b/src/images/bytefield/rvc-instr-quad1.adoc index 4fd763a..e0f6073 100644 --- a/src/images/bytefield/rvc-instr-quad1.adoc +++ b/src/images/bytefield/rvc-instr-quad1.adoc @@ -45,7 +45,7 @@ (draw-box "011" {:span 3}) (draw-box "imm[9]" {:span 1}) (draw-box "2" {:span 5}) -(draw-box "imm[4:0]" {:span 5}) +(draw-box "imm[4|6|8:7|5]" {:span 5}) (draw-box "01" {:span 2}) (draw-box (text "C.ADDI16SP" :math [:sub "(RES, imm=0)"]) {:span 3 :text-anchor "start" :borders {}}) |