public void run() { InstField instField = new InstField(); instField.run(); StaticField.run(); IntMath.run(); FloatMath.run(); Compare.run(); Monitor.run(); Switch.run(); Array.run(); Classes.run(); Goto.run(); MethodCall.run(); Throw.run(); try { UnresTest1.run(); } catch (VerifyError ve) { System.out.println("Caught: " + ve); } try { UnresTest1.run(); } catch (VerifyError ve) { System.out.println("Caught (retry): " + ve); } try { UnresTest2.run(); } catch (VerifyError ve) { System.out.println("Caught: " + ve); } catch (Throwable th) { // We and the RI throw ClassNotFoundException, but that isn't declared so javac // won't let us try to catch it. th.printStackTrace(); } InternedString.run(); }
@Override public void execute(Machine machine, IConsole console) { Bit[] gosubs = ((ConglomerateVariable) machine.parseIVariable("W6")).getBits(); gosubs[getId()].setValue(1); jmp.execute(machine, console); }