s3e: fix build break
[calu.git] / 2_isa / flags.tex
1 In table~\ref{tab:flags} the flags that can suffix instructions are described. If and which flags are available depends on the instruction.
2
3 \begin{longtable}{|c|c|c|}\hline
4         \textbf{flag} & \textbf{function} & \textbf{default value} \\ \hline
5         C    & carry    & 0 (not set)   \\ \hline
6         D    & Status register update disable & 0 (not set) \\ \hline
7         H/L  & use high or low 16-bits & L (not set) \\ \hline
8         F    & fill unused 16-bits with value of F & 0 (not set)\footnote{this means that andxf must be used, if the not specified 16-bit, should be preserve} \\ \hline
9         S    & sign extension & 0 (not set) \\ \hline
10         +/-  & branch taken or not taken & + (set) \\ \hline
11         A    & if set the shift operation will be arithmetic instead of logic & 0 (logic) \\ \hline
12         \caption{ISA flag overview}
13         \label{tab:flags}
14 \end{longtable}