@Override
	public void separateOperands() {
		operandArray = new ArrayList<String>();
		instructionArray = new ArrayList<String>();
		
		for (int i = 0; i < programString.size(); i++) { 
			
			if (programString.get(i).contains("DATA")) { //Only operand declarations contain this String sequence
				operandArray.add(programString.get(i));
			}
			
			else if (programString.get(i).trim().startsWith("#")) { //Detect comments embedded between lines of code
				//Do nothing; don't add comment lines to instruction or operand arrays
			}
			
			else { //If the line isn't a comment or operand declaration, add to instructionArray
				instructionArray.add(programString.get(i)); 														
			}
			
		}
		
		//Create array to hold assembled program, deducing size from instruction and operand ArrayList sizes
		programCode = new Data[instructionArray.size() + operandArray.size()];
		operandAddressPointer = instructionArray.size(); //Set operand address pointer to a location that will come immediately
														//after the last instruction (deduced by size of instructionArray).
	}