private void ID(){
        
        String opcodeCondition = new String();
       
        if (controlPanel.runType!=5){
        
        opcodeCondition = IR.get().substring(0, 6);
         
        }
        else {
           
            opcodeCondition = strSwitches.substring(0, 6);
        }
    
         if (opcodeCondition.equals("010100") || opcodeCondition.equals("010101")
                  || opcodeCondition.equals("010110") || opcodeCondition.equals("010111")
                  || opcodeCondition.equals("011000") || opcodeCondition.equals("011001")) {
              DecodeArithRtoR();
          } else if (opcodeCondition.equals("011111")|| opcodeCondition.equals("100000")) {
              DecodeLogicalInstruct();
          } else if (opcodeCondition.equals("111101")|| opcodeCondition.equals("111110") || opcodeCondition.equals("111111")) {
              DecodeIOInstruct();
          }
          else {
              Decode();
          }
         controlPanel.getLblOpcode().setText(OPCODE.get());
    
    }