3.8.3. memcmp - memory compare

3.8.3.1. Usage

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

3.8.3.2. 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.

3.8.3.3. Options

-b

byte access

-w

word access (16 bit)

-l

long access (32 bit)

-q

quad access (64 bit)

-s FILE

source file (default /dev/mem)

-d FILE

destination file (default /dev/mem)