# HG changeset patch # User Christian Urban # Date 1386026482 0 # Node ID b712519b41d32c2dcfa4eb488abdfd25d53e7cc7 # Parent 824ffbf66ab4b755b0a621da99f787ffa2a2fa42 updated diff -r 824ffbf66ab4 -r b712519b41d3 coursework/cw03.pdf Binary file coursework/cw03.pdf has changed diff -r 824ffbf66ab4 -r b712519b41d3 coursework/cw03.tex --- a/coursework/cw03.tex Mon Dec 02 19:26:45 2013 +0000 +++ b/coursework/cw03.tex Mon Dec 02 23:21:22 2013 +0000 @@ -50,7 +50,9 @@ \end{center} \noindent -where you might need to give the correct path to the class file.\bigskip +where you might need to give the correct path to the class file. There +are also other resources about Jasmin on the Internet, for example +\mbox{\url{http://goo.gl/Qj8TeK}} and \mbox{\url{http://goo.gl/fpVNyT}}\;.\bigskip \noindent You need to submit a document containing the answers for the two questions @@ -178,6 +180,7 @@ \end{minipage} \end{center} + \subsection*{Library Functions} You need to generate code for the commands \texttt{write} and \texttt{read}. This diff -r 824ffbf66ab4 -r b712519b41d3 langs.sty --- a/langs.sty Mon Dec 02 19:26:45 2013 +0000 +++ b/langs.sty Mon Dec 02 23:21:22 2013 +0000 @@ -57,7 +57,7 @@ showstringspaces=false} \lstdefinelanguage{while}{ - morekeywords={if,then,else,while,do,true,false,write,upto}, + morekeywords={if,then,else,while,do,true,false,write,upto,for,skip}, otherkeywords={=,!=,:=,<,>,;}, sensitive=true, morecomment=[n]{/*}{*/},