X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=2_isa%2Fcommon.sty;h=f237c0c387970c9f155fbb7da12b9f761b954be0;hb=16e4a5d83c4442b0e642066ea58b238b257e9c37;hp=0887eb33f59046d7474a306573c71d681b64d8a9;hpb=bf5f1f4e2542213a095a288bad296f57004309cb;p=calu.git diff --git a/2_isa/common.sty b/2_isa/common.sty index 0887eb3..f237c0c 100644 --- a/2_isa/common.sty +++ b/2_isa/common.sty @@ -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