diff -r 2abd285c66d1 -r 180600c04da2 hws/hw09.tex --- a/hws/hw09.tex Thu Oct 03 11:12:00 2019 +0100 +++ b/hws/hw09.tex Fri Oct 04 11:21:30 2019 +0100 @@ -33,18 +33,18 @@ Give the arithmetic expression that produced this code. Make sure you give all necessary parentheses. -\item Describe what the following three JVM instructions do! +\item Describe what the following JVM instructions do! -\begin{lstlisting}[language=JVMIS,numbers=none] + +\begin{lstlisting}[language=JVMIS2,numbers=none] +ldc 3 iload 3 istore 1 ifeq label +if_icmpge label \end{lstlisting} -\item Early in the module, we saw that the regular expression matchers - in Java, Python and Ruby are very slow with some (basic) regular - expressions. What is the main reason for this ineffcient computation? \item \POSTSCRIPT