String label = (String) unresolvedJumps.elementAt(i);
int address = ((Integer) unresolvedJumps.elementAt(i + 1)).intValue();
Integer target = (Integer) jumpLabels.get(label);
if (target == null) {
throw new CompilerException("Unresolved Jump Label: " + label);
}
int delta = target.intValue() - address - 2;
code[address + 0] = (byte) (delta >> 8);
code[address + 1] = (byte) (delta & 255);
}
dos.write(code);
} catch (IOException e) {
throw new CompilerException(e);
}
}