aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2018-12-13 11:16:56 -0800
committerAndrew Waterman <andrew@sifive.com>2018-12-13 11:17:12 -0800
commit3a52eaa0560bd8e413e7ca0efda2511256fc3ff1 (patch)
tree4d1fe0a8f1e496da1758c3d6b5ef5ea639727fe1 /src
parentcfd8395ce137406ef34f41539962a0907c2bd3a4 (diff)
downloadriscv-isa-manual-3a52eaa0560bd8e413e7ca0efda2511256fc3ff1.zip
riscv-isa-manual-3a52eaa0560bd8e413e7ca0efda2511256fc3ff1.tar.gz
riscv-isa-manual-3a52eaa0560bd8e413e7ca0efda2511256fc3ff1.tar.bz2
Make branch immediate description more similar to jumps
Closes #306 h/t @wdc-pnl
Diffstat (limited to 'src')
-rw-r--r--src/rv32.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rv32.tex b/src/rv32.tex
index a7623bb..9ea0e8a 100644
--- a/src/rv32.tex
+++ b/src/rv32.tex
@@ -827,8 +827,9 @@ enable macro-op fusion of the sequences:\linebreak
\subsubsection*{Conditional Branches}
All branch instructions use the B-type instruction format. The
-12-bit B-immediate encodes signed offsets in multiples of 2, and is
-added to the current {\tt pc} to give the target address. The
+12-bit B-immediate encodes signed offsets in multiples of 2 bytes.
+The offset is sign-extended and added
+to the current {\tt pc} to give the target address. The
conditional branch range is $\pm$\wunits{4}{KiB}.
\vspace{-0.2in}