import java.util.*;

public class GameConsole
{
    public static final String INSTRUCTIONS = "instructions.txt";

    public static void main (String[] args)
    {
        boolean debug = false;
        boolean verify = false;

        for (int i = 0; i < args.length; i++)
        {
            if ("-help".equals(args[i]))
            {
                System.out.println("Usage: [-debug] [-verify] [-help]");
                System.exit(0);
            }

            if ("-debug".equals(args[i]))
                debug = true;

            if ("-verify".equals(args[i]))
                verify = true;
        }

        if (verify)
        {
            Verifier v = new Verifier(debug);

            if (v.verify())
                System.out.println("Verified ok.");
            else
                System.out.println("Verify failed!");

            System.exit(0);
        }

        Vector<OpCode> instructions = Util.loadData(INSTRUCTIONS, debug);
        Computer theComputer = new Computer(debug);
        int acc = theComputer.executeUntilInfiniteLoop(instructions);

        System.out.println("Value in the accumulator: "+acc);
    }
}
@@ -1039,32 +1039,21 @@
 ter.
-executeUntilInfiniteLoop
+fixAndExecute
 (ins
@@ -1117,16 +1117,41 @@
 umulator
+ after fixing the program
 : %22+acc)

Update GameConsole.java