private void btnSingleStepActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSingleStepActionPerformed
        
               
        runType = 5; // single Instructions mode
        if (!PipelinedSingleInstruction.isStarted) {
            PipelinedSingleInstruction = new PipelinedInstruction(1,this);
            strSwitches = GetSwitchValues();
            PipelinedSingleInstruction.start();

            }
        else {
            if (!PipelinedSingleInstruction.isRunning) {
                PipelinedSingleInstruction.resume();
                PipelinedSingleInstruction.isRunning = true;
            }
            else {
                jMessages.append("Error: Cannot continue!\nThread is running already");
            }
        }
        
     
    }//GEN-LAST:event_btnSingleStepActionPerformed