public void CheckAcum(String checkInst, String CheckOper){
		
		int size = 0;
		
		for(int i = 0; i < IDX.size(); i++)
		{
			if(IDX.elementAt(i).equals(checkInst))
			{
				machCod.add(mIDX.elementAt(i));
				
				//####### Code to make the second step in IDX instructions, changing 'xb' ########
				
						String Step2 = machCod.lastElement();
						
						if(CheckOper.contains("A") == true)
							XbIDXAcum(0,CheckOper,Step2);
						else
							if(CheckOper.contains("B") == true)
								XbIDXAcum(1,CheckOper,Step2);
							else 
								if(CheckOper.contains("D") == true)
									XbIDXAcum(2,CheckOper,Step2);
								
				
				//#########################################################################
				
				String hexDIR = Integer.toHexString(GlobalCont);
				
				size = hexDIR.length();
				
				if (size == 1)
					contLoc.add("000" + hexDIR);
					else
						if (size == 2)
							contLoc.add("00" + hexDIR);
							else
								if (size == 3)
									contLoc.add("0" + hexDIR);
								else
									contLoc.add(hexDIR);	
						
						GlobalCont = GlobalCont + sIDX.elementAt(i); 
						
				}
					
			}
		
	}