hws/hw09.tex
changeset 647 d74702cba346
parent 577 1d6043a87a3e
child 648 a64c9a1007ee
--- 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