40651275@sdcc13.UUCP (40651275) (10/09/85)
I would like to know the method that Microsoft Compilers/Linkers/Etc.. use to determine the checksum byte in the records of .OBJ files. I do not wish to spend megabucks to purchase the Microsoft Programmer's Manual. The most recent issue of PC Tech had a very good article about .OBJ files but it left out the checksum methodology. Thanks. David Johnson UCSD sdcc15 40651275
johnl@ima.UUCP (10/16/85)
/* Written 8:47 pm Oct 8, 1985 by 40651275@sdcc13 in ima:net.micro.pc */ > I would like to know the method that Microsoft > Compilers/Linkers/Etc.. use to determine the checksum byte in the > records of .OBJ files. The checksum is the negative of the byte-wise sum of all of the other bytes in the record, which means that if you add together all of the bytes including the checksum, the result should be zero. [This information from the Intel 8086 Relocatable Object Module Formats manual, from which the MS formats are derived.] John Levine, ima!johnl