import java.util.*;

public class Computer
{
    public Computer (boolean debug)
    {
        _accumulator = 0;
        _debug = debug;
    }

    public int executeUntilInfiniteLoop (Vector<OpCode> instructions)
    {
        int index = 0;
        OpCode op = instructions.elementAt(index);

        _accumulator = 0;
        
        while (!op.visited())
        {

        }

        return -1;
    }

    private int _accumulator;
    private boolean _debug;
}
@@ -314,24 +314,16 @@
 or = 0;%0A
-        
 %0A       
@@ -355,16 +355,454 @@
       %7B%0A
+            switch (op.type())%0A            %7B%0A                case OpCode.ACCUMULATOR:%0A                %7B%0A                    _accumulator += ((Accumulator) op).getValue();%0A                %7D%0A                break;%0A                case OpCode.JUMP:%0A                %7B%0A%0A                %7D%0A                break;%0A                case OpCode.NOOP:%0A                default:%0A                %7B%0A%0A                %7D%0A                break;%0A            %7D
 %0A       

Update Computer.java