isa: calling conventions und flags
authorMartin Perner <martin@perner.cc>
Wed, 27 Oct 2010 15:51:08 +0000 (17:51 +0200)
committerMartin Perner <martin@perner.cc>
Wed, 27 Oct 2010 15:51:19 +0000 (17:51 +0200)
2_isa/callingconv.tex
2_isa/flags.tex
2_isa/isa.tex

index c48a52fa912b6ccf467127ebedd8bc2aec23e372..794edf79665b1e63083486d1ff3aaeb1749d4ff6 100644 (file)
@@ -1,6 +1,6 @@
 \section{calling convention}
 
-\begin{table}
+\begin{table}[ht]
        \centering
        \begin{tabular}{|c|c|c|} \hline
                Register & saved by & usage  \\ \hline
index 52a3bc0817cbbe86c57b387c07c46b7d7d334d36..3d76c481af47386ceadd016f29870109e9ad3513 100644 (file)
@@ -1,13 +1,13 @@
-\begin{table}
-       \centering
-       \begin{longtable}{|c|c|c|} \hline
+\begin{longtable}{|c|c|c|}
+       \hline
+
                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)\footnotemark[1]\\ \hline
-       \end{longtable}
-       \footnotetext[1]{this means that andxf must be used if the not specified 16-bit should be preserve}
+               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
        \caption{ISA flag overview}
-%\label{tab:<+label+>}
-\end{table}
+\end{longtable}
index 52872ecf593b5c802fea5766391f687b88d4f92a..032cce9812b95ef379b3e55fec9ef1b936f9d872 100644 (file)
@@ -18,6 +18,9 @@
 
 \input{conds}
 if a condition is not met, the instruction is executed but no changes (on data or flags) occure.
+\clearpage
+\input{callingconv}
+
 \clearpage
 \section{instr}
 \input{flags}