@Override
	public String display() { //Displays assembly language program with line numbers
		String displayString = "     <Label>:  <Instruction/Operand>  <#Comment>\n\n";
		
		if (leadingComments.size() > 0) { //Display leading comments, if there are any
			for (int i = 0; i < leadingComments.size(); i++) {
				displayString += leadingComments.get(i) + "\n";
			}
			displayString += "\n"; //Add extra space for clarity
		}
		
		int lineReference = 0; //For display of line numbers, including blank lines
		for (int i = 0; i < displayProgram.size(); i++) {
			if (lineReference < 10) { //Line number formatting
				displayString += "0" + lineReference + "|  " + displayProgram.get(i) + "\n";		
				lineReference++;
			}
			else {
				displayString += lineReference + "|  " + displayProgram.get(i) + "\n";
				lineReference++;
			}
		}

		return displayString;
	}