Mercurial > hg > Members > kono > nitros9-code
view docs/nitros9guide/cmp.refentry @ 2772:0a3f4d8ea6d5
Found ENDC in wrong location in dwread.asm and dwwrite.asm. Corrected.
Moved the native 6309 code in dwread.asm and dwwrite.asm into the H6309 labeled area and changed IFEQ H6309 to IFNE H6309. Also moved the 57600bps 6809 code to the default location. This change had been done in the old dwread.asm and dwwrite.asm files to make it easier to follow. Though these two files were overwritten from the HDBDOS project dwread.asm and dwwrite.asm files. So this conversion needed to be done again so it made the source easier to follow.
author | drencor-xeen |
---|---|
date | Wed, 23 Jan 2013 12:36:55 -0600 |
parents | c565a4700689 |
children |
line wrap: on
line source
<refentry id="cmp"> <refnamediv> <refname>CMP</refname> <refpurpose>File Comparison Utility</refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>cmp</command> <arg choice="plain"> <replaceable>file1</replaceable> </arg> <arg choice="plain"> <replaceable>file2</replaceable> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1><title>Description</title> <para> Opens two files and performs a comparison of the binary values of the corresponding data bytes of the files. If any differences are encountered, the file offset (address) and the values of the bytes from each file are displayed in hexadecimal. </para> <para> The comparison ends when end-of-file is encountered on either file. A summary of the number of bytes compared and the number of differences found is then displayed. </para> </refsect1> <refsect1><title>Examples</title> <screen> OS9: cmp red blue Differences byte #1 #2 ======== == == 00000013 00 01 00000022 B0 B1 0000002A 9B AB 0000002B 3B 36 0000002C 6D 65 Bytes compared: 0000002D Bytes different: 00000005 OS9: cmp red red Differences None ... Bytes compared: 0000002D Bytes different: 00000000 </screen> </refsect1> </refentry>