progs: bench tools bei deepjit.s geadded
[calu.git] / 2_isa / common.sty
index 0887eb33f59046d7474a306573c71d681b64d8a9..f237c0c387970c9f155fbb7da12b9f761b954be0 100644 (file)
@@ -45,6 +45,22 @@ tabsize=4
        \large\textcolor{red}{TODO: #1}
 }
 
+\lstset{%
+       basicstyle=\footnotesize,
+       frame=single,
+       breaklines=true,
+       tabsize=4
+}
+
+\newcommand{\listingS}[2] {
+       %wtf, no "Assembler" exists??
+       %\lstinputlisting[language=Assembler,caption=#1]{#2}
+       \lstinputlisting[caption=#1]{#2}
+}
+\newcommand{\listingC}[2] {
+       \lstinputlisting[language=C,caption=#1]{#2}
+}
+
 \newcommand{\allauthors}{
        \author{
                \addauthor{Markus Hofst\"atter}{0725034}{markus.manrow@gmx.at}\and