private void analyseEndian(String line) throws AssemblerException {

		if (line.trim().length() == 0)
			return;

		if(foundEndian)
			throw new AssemblerException("Endian error: Endian already specified.");
		
		foundEndian = true;
		line = line.trim();
		line = line.toLowerCase();

		if (line.equals("big"))
			data.setEndian("big");

		else if (line.equals("little"))
			data.setEndian("little");

		else
			throw new AssemblerException(
					"Endian error: Endian not recognised, \"big\" or \"little\" expected.");
	}