sim: labels and comments are now shown
[calu.git] / 2_isa / flags.tex
index 3d76c481af47386ceadd016f29870109e9ad3513..b3fd5a469e60a366e445b70a1180a7341d5dce43 100644 (file)
@@ -1,13 +1,14 @@
-\begin{longtable}{|c|c|c|}
-       \hline
+In table~\ref{tab:flags} the flags that can suffix instructions are described. If and which flags are available depends on the instruction.
 
-               flag & function & default value \\ \hline
-               C    & carry    & 0 (not set)   \\ \hline
-               SU   & Status register update & 1 (set) \\ \hline
-               H/L  & use high or low 16-bits & L (not set) \\ \hline
-               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
-               ST   & read/write stack instead of PSW & 0 (not set) \\ \hline
-               S    & sign extension & 0 (not set) \\ \hline
-               +/-  & branch taken or not taken & + (taken) \\ \hline
+\begin{longtable}{|c|c|c|}\hline
+       \textbf{flag} & \textbf{function} & \textbf{default value} \\ \hline
+       C    & carry    & 0 (not set)   \\ \hline
+       D    & Status register update disable & 0 (not set) \\ \hline
+       H/L  & use high or low 16-bits & L (not set) \\ \hline
+       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
+       S    & sign extension & 0 (not set) \\ \hline
+       +/-  & branch taken or not taken & + (set) \\ \hline
+       A    & if set the shift operation will be arithmetic instead of logic & 0 (logic) \\ \hline
        \caption{ISA flag overview}
+       \label{tab:flags}
 \end{longtable}