private int writeJumpPointer(BufferedWriter bw, int curAddress, int end) throws Throwable {

    for(;rom.type[curAddress] == ROM.DATA_JUMPPOINTER && curAddress < end;curAddress+=2) {
      addLabel(bw, curAddress);

      String dataString = "$"+Integer.toHexString(((rom.data[curAddress]&0xFF) | ((rom.data[curAddress+1]&0xFF) << 8)) & 0xFFFF);

      if(rom.payloadAsAddress[curAddress] >= 0)
        dataString = rom.getLabel(rom.payloadAsAddress[curAddress]);

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

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