isa_cmp: added cmp table and changed bit of style
authorMartin Perner <martin@perner.cc>
Tue, 19 Oct 2010 21:01:01 +0000 (23:01 +0200)
committerMartin Perner <martin@perner.cc>
Tue, 19 Oct 2010 21:01:01 +0000 (23:01 +0200)
1_isacmp/cmp.tex
1_isacmp/common.sty

index 9bdbc23d0b537fe829f7614fc702144a73cd5c63..51a88887dbf4fb874566cfe52f72ec6258cc8c74 100644 (file)
@@ -7,4 +7,22 @@ Bei Conditional Operations reicht die Auswahl von sehr beschr\"ankt (MCS-51) bis
 Als Anwendungsgebiete kann man f\"ur alle Architekturen auf jedenfall Embedded Systems angeben. ARM und PowerPC sind auch im Desktop- und Serverbereich anzutreffen.
 Die Instruktionsetgr\"o\ss e ist bei AVR und MCS-51, durch die 8-Bit bedingt, eher klein. SPEAR2 ist auch eher klein weil die urspr\"ungliche Architektur ebenfalls nur 8-Bit war. ARM und PowerPC haben, auch durch die 32-Bit L\"ange bedingt, ein gro\ss es Instruktionset.
 Das Sichern der R\"ucksprungadresse wird unterschiedlich gehandelt, AVR und MCS-51 sichern die Adresse automatisch auf den Stack. PowerPC, SPEAR2 und ARM sichern die R\"ucksprungadresse in ein Register.
-Codesize und Ausf\"uhrungszeit des Codest\"ucks \texttt{sum} sind in der folgenden Tabelle ersichtlich: \ldots \footnote{Ausf\"ullen wenn alle ihren Code fertig haben}
+Codesize und Ausf\"uhrungszeit des Codest\"ucks \texttt{sum} sind in Tabelle \ref{cmp_tab} ersichtlich. Es ist ersichtlich das die Prozessoren mit h\"oherer Instruktionsl\"ange besser abschneiden wenn es um Codesize und Anzahl der Zyklen geht, was aber auch nicht verwundert. \\
+
+       
+\begin{table}[h]
+\begin{center}
+       \begin{tabular}{|l|c|c|c|c|c|}\hline
+               Anzahl        & AVR   & ARM & PowerPC & MCS-51 & SPEAR2 \\ \hline
+               Instruktionen & 9     & 6   & 3       & 21     & 6      \\ \hline
+               Zyklen        & 13/14 & 8   & 3       & 30     & 7      \\ \hline
+               Bytes         & 18    &     & 12      & 32     & 12     \\ \hline
+       \end{tabular}
+       \caption{Vergleich der ISAs anhand der erfassten Kennwerte}
+       \label{cmp_tab}
+\end{center}
+\end{table}
+
+
+
+\huge{ARM CODESIZE FEHLT!!!}
index 726344dccaa2ee9dfd0bddda009ebf6cce192db0..4e2cb15a7b4c499952f642089753c2ecfdf8cc96 100644 (file)
@@ -5,6 +5,20 @@
 \usepackage[latin1]{inputenc}
 \usepackage{listings}
 
+
+% put footnotes below floats
+% this is a good idea if the table for the cmp looks bad on top of page
+\usepackage{fnpos}
+\makeFNbelow
+
+
+\lstset{%
+basicstyle=\footnotesize,
+frame=single,
+breaklines=true,
+tabsize=4
+}
+
 \newcommand{\insertemail}[1]{\href{mailto:#1}{#1}}
 
 \newcommand{\longcomment}[1]{}
@@ -22,7 +36,3 @@
                \addauthor{Bernhard Urban}{0725771}{lewurm@gmail.com}
        }
 }
-
-\lstset{
-       tabsize=4
-}