diff options
| author | Alex Richardson | 2020-09-28 12:01:04 +0100 |
|---|---|---|
| committer | Alex Richardson | 2020-09-28 12:01:04 +0100 |
| commit | 8bd1d46961b41cc643810fc028c4127279463c36 (patch) | |
| tree | 9c4b71ae23ba22c9d3f681644aafe85028377714 /test/latex/candperm.commands.tex.exp | |
| parent | 882850db49cffef75e11eef8cf00364611e54e19 (diff) | |
Handle sectioning commands in saildoc LaTeX output
Diffstat (limited to 'test/latex/candperm.commands.tex.exp')
| -rw-r--r-- | test/latex/candperm.commands.tex.exp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/latex/candperm.commands.tex.exp b/test/latex/candperm.commands.tex.exp index df253d71..561975f5 100644 --- a/test/latex/candperm.commands.tex.exp +++ b/test/latex/candperm.commands.tex.exp @@ -39,6 +39,20 @@ and bits \firstUPerm{} .. \lastUPerm{} of \emph{rd}. }{\lstinputlisting[language=sail]{out/fclCAndPermMarkdownWithRefMacrozexecute33a689e3a631b9b905b85461d3814943.tex}}}} +\newcommand{\sailfclCAndPermMarkdownWithExceptionsexecute}{\saildoclabelled{fclCAndPermMarkdownWithExceptionszexecute}{\saildocfcl{Capability register \emph{cd} is replaced with the contents of capability +register \emph{cs1} with the \cperms{} field set to the bitwise-AND of +its previous value and bits 0 .. 10 of integer register \emph{rs2} +and the \cuperms{} field set to the bitwise and of its previous value +and bits \firstUPerm{} .. \lastUPerm{} of \emph{rd}. + +\subsubsection*{Exceptions:} +An exception is raised if: + +\begin{itemize} +\item \emph{cs1.tag} is not set. +\item \emph{cs1} is sealed. +\end{itemize}}{\lstinputlisting[language=sail]{out/fclCAndPermMarkdownWithExceptionszexecute33a689e3a631b9b905b85461d3814943.tex}}}} + \newcommand{\sailval}[1]{ |
