Motorola MVME2600 Series User Manual Page 101

  • Download
  • Add to my manuals
  • Print
  • Page
    / 518
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 100
CS - Checksum
3-33
3
CS - Checksum
Command Input
CS RANGE [;B|H|W]
Options
Description
The CS command calculates a checksum to verify the contents of a
block of memory. It uses the same checksum routine that is run at
system start-up. The checksum algorithm works as follows:
1. The checksum variable is set to zero.
2. Each data element is added to the checksum. If a carry is
generated, a one is added to the checksum variable.
This process is repeated for each data element until the ending
address is reached.
The option field serves both as a data size identifier and scale factor
if a COUNT is specified as part of the RANGE. The size option is
byte, half-word, or word for the items checked. The default data
size is word.
The addresses used in the RANGE parameters can be provided in
two forms:
An absolute address (32-bit maximum).
An expression using a displacement + relative offset register.
B Byte
H Half-word
W Word
Page view 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 517 518

Comments to this Manuals

No comments