diff -r 5d01eccc2036 -r c3dd3a98f919 cws/cw04.tex --- a/cws/cw04.tex Fri Sep 26 23:10:52 2025 +0100 +++ b/cws/cw04.tex Sun Sep 28 14:03:59 2025 +0100 @@ -32,10 +32,11 @@ It should be understood that the work you submit represents your own effort. You have not copied from anyone else. An exception is the Scala code I showed during the lectures, -which you can use. You can also use your own code from the -CW~1, CW~2 and CW~3. But do not -be tempted to ask Github Copilot for help or do any other -shenanigans like this! +which you can use. You can also use your own code from +CW~1, CW~2 and CW~3. +%But do not +%be tempted to ask Github Copilot for help or do any other +%shenanigans like this! \subsection*{Jasmin Assembler} @@ -48,7 +49,8 @@ \end{center} \noindent -This is a jar-file you can run on the commandline. +This jar-file is also included in your template files for CW 4. +You can run it on the command line with \texttt{java -jar jasmin}. There is a user guide for Jasmin \begin{center} @@ -69,7 +71,7 @@ \texttt{java -jar jasmin.jar loops.j} \end{center} -\noindent in order to translate it into Java Byte Code. If needed, you +\noindent in order to translate it into Java Byte Code. If relevant, you need to give the path to the Jasmin jar-file. The resulting class file can be run with @@ -94,10 +96,11 @@ \noindent and \begin{center} - \small\url{http://www.csc.villanova.edu/~tway/courses/csc4181/s2022/labs/finalproject/JVM.pdf} + \small\url{https://urbanchr.github.io/cfl/JVM.pdf} \end{center} \noindent +The latter is courtesy of Tom Way. If possible use Jasmin for the coursework. The Krakatau assembler below has a slightly different syntax.