aboutsummaryrefslogtreecommitdiff
path: root/src/rv32.tex
diff options
context:
space:
mode:
Diffstat (limited to 'src/rv32.tex')
-rw-r--r--src/rv32.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rv32.tex b/src/rv32.tex
index 9099a30..60723b6 100644
--- a/src/rv32.tex
+++ b/src/rv32.tex
@@ -1340,6 +1340,10 @@ supervisor-level operating system or debugger.
ebreak # Break to debugger
srai x0, x0, 7 # NOP encoding the semihosting call number 7
\end{verbatim}
+ Note that these three instructions must be 32-bit-wide instructions,
+ i.e., they mustn't be among the compressed 16-bit instructions
+ described in Chapter~\ref{compressed}.
+
The shift NOP instructions are still considered available for use as
HINTS.