Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!ucsd!mvb.saic.com!ncr-sd!crash!pnet01!cwr From: cwr@pnet01.cts.com (Will Rose) Newsgroups: comp.os.minix Subject: PC ACK compiler -p option Message-ID: <8077@crash.cts.com> Date: 18 Mar 91 08:16:01 GMT Sender: root@crash.cts.com Organization: People-Net [pnet01], El Cajon CA Lines: 23 If programs are compiled on the PC with the ACK compiler and the -p option, the code generator sets a location in the header file to a unique value somewhere near every jump or call. (The location label is hod0, if my memory is correct - I've lost my notes). After several days experimenting with different algorithms, I still can't find out how ACK generates the unique value for each jump; the fact that the value is generated at semi-random intervals in the code is of less importance, I can live with that. Could someone with intimate knowlegde of this **** compiler please let me know how it generates the number for hod0? (? hol0). Many thanks - Will ----------------------------------------------------------------------- "If heaven too had passions | Will Rose even heaven would | UUCP: {nosc ucsd hplabs!hp-sdd}!crash!pnet01!cw grow old." - Li Ho. | ARPA: crash!pnet01!cwr@nosc.mil | INET: cwr@pnet01.cts.com UUCP: {nosc ucsd hplabs!hp-sdd}!crash!pnet01!cwr ARPA: crash!pnet01!cwr@nosc.mil INET: cwr@pnet01.cts.com