COMP is a CP/M utility which can be used to compare two CP/M files (which will usually binary .COM object code files) to find any differences between them. The files are compared byte for byte. No attempt is made to vary the match points to establish a different synchronization if a prolonged mismatch is found, as would be done for ASCII files when using DIF2, etc. The command line usage is: comp [d:]file1[.typ] [d:]file2[.typ] The drive specification is optional, if not specified the logged in drive is assumed. The file type specification is also optional for either file, if not specified, "COM" is assumed. Discrepancies will be noted at the console in a line of the form: xxxx yy zz where xxxx is the number of the discrepant byte, yy in file1, zz in file2. Pressing any key at the console will stop the comparison, but in any event there will be a final total shown of the bytes compared and the number of mismatches encountered. Note: This program starts the display of any discrepancies at page 1 (0100H) rather than at page 0 (0000H). This gives absolute addresses for normal CP/M files which permits easy use of DDT or SID or an assembled print copy to check the discrepancies. Relative addresses are relatively worthless for this purpose. If for some reason you want relative addresses, change the label area RPRT1: INR H to RPRT1: DB 0 instead. Then reassemble and reload. This program is modified from BINCOM.ASM written by Harold McIntosh. BINCOM.ASM Copyright (C) 1983 Universidad Autonoma de Puebla September 16, 1983 The latest version is Version 1.3, dated October 27, 1987.