diff -r 372f9801b76d -r dc528091eb70 coursework/cw04.tex --- a/coursework/cw04.tex Sat Jan 07 14:56:45 2017 +0000 +++ b/coursework/cw04.tex Sat Jan 21 00:25:09 2017 +0000 @@ -100,9 +100,10 @@ \end{center} \noindent This assembler is largely compatible with the Jasmin -syntax---that means for the files we look are concerned with, +syntax---that means for the files we are concerned with here, it understands the same input syntax (no changes to your -compiler need to be made). You can generate Java Byte Code by +compiler need to be made; ok maybe some small syntactic +adjustments are needed). You can generate Java Byte Code by using \begin{center} @@ -112,7 +113,8 @@ \noindent where you may have to adapt the directory where Krakatau is installed (I just downloaded the zip file from Github and \pcode{Krakatau-master} was the directory where it -was installed). +was installed). Again the resulting class-file you can run with +\texttt{java}. %\noindent You need to submit a document containing the answers @@ -134,7 +136,8 @@ the console which Fibonacci number and which Factorial should be calculated. The Fibonacci program is given in Figure~\ref{fibs}. You can write your own program for -calculating factorials. +calculating factorials. Submit your assembler code as +a file that can be run, not as PDF-text. \begin{figure}[t] \lstinputlisting[language=while]{../progs/fib.while}