private int writeByteArray(BufferedWriter bw, int curAddress, int end) throws Throwable {
		for(; rom.type[curAddress] == ROM.DATA_BYTEARRAY && curAddress < end; curAddress += rom.width[curAddress]) {
			addLabel(bw, curAddress);

			String dataString = "";
			for (int i = 0; i < rom.width[curAddress]; i++) {
				if (i > 0)
					dataString += ", ";
				dataString += DeasmUtil.format(rom.data[curAddress+i]&0xFF, rom.format[curAddress+i]);
			}

			if(rom.comment[curAddress] != null && !rom.comment[curAddress].isEmpty())
				dataString += " ; "+rom.comment[curAddress];

			bw.write("\tdb "+dataString+"\n");
		}
		if (rom.type[curAddress] != ROM.DATA_JUMPPOINTER)
			bw.write("\n");
		return curAddress;
	}