3.8.3. memcmp - memory compare Usage

memcmp [-bwlq] [-s FILE] [-d FILE] ADDR1 ADDR2 COUNT Synopsis

Compare memory regions specified with ADDR1 and ADDR2 of size COUNT bytes. If source is a file, COUNT can be left unspecified, in which case the whole file is compared. Options


byte access


word access (16 bit)


long access (32 bit)


quad access (64 bit)


source file (default /dev/mem)


destination file (default /dev/mem)