which
calculates a hash from
start
to
end
addresses, placing the result at
destination
, and the specifications are as
follows:
width=n
selects the width of the
hash result in bytes. A negative width will store the result in
little-endian byte order.
offset=nnnn
specifies an initial
value or offset to be added to the hash.
algorithm=n
selects the hash
algorithm to use.
code=nn.Base
is a
hexadecimal code that will trail each byte in the hash result. This can
allow each byte of the hash result to be embedded within an
instruction.
polynomial=nn
hexadecimal value
which is the polynomial to be used for CRC hashes.
revword=n
reads the data in reserve
order with the word width specified.
skip=n.Bytes
skips
the MSB in the word width specified.
xor=n
is a hexadecimal value that
will be XORed with the hash result before it stored.
Check the
MPLAB® XC8 C Compiler User’s Guide for
PIC® MCU for full information regarding this
option. Note that this field does not map to any compiler option, but will instead
trigger a post-build execution of the Hexmate utility.