fixed incorrect address calculation for references to entrypoint at beginning of a rom.