Motorola MVME2600 Series User Manual Page 80

  • Download
  • Add to my manuals
  • Print
  • Page
    / 518
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 79
BM - Block of Memory Move
3-12
3
BM - Block of Memory Move
Command Input
BM RANGE ADDR [;B|H|W]
Options
Description
The BM command copies the contents of the memory addresses
defined by RANGE to another place in memory, beginning at
ADDR.
The option field is only allowed when RANGE is specified using a
COUNT. In this case, the
B, H, or W defines the size of the data that
the COUNT is referring to. For example, a COUNT of 4 with an
option of W would mean to move 4 words (or 16 bytes) to the new
location. If an option field is specified without a COUNT in the
RANGE, an error results.
The BM command is useful for patching assembly code in memory
(refer to example 2).
The default data size is word.
Examples
Example 1: For this example, assume that memory from 20000 to
2000F is clear.
PPC1-Bug>MD 21000:10;H <Return>
00021000 5448 4953 2049 5320 4120 5445 5354 2121 THIS IS A TEST!!
00021010 0000 0000 0000 0000 0000 0000 0000 0000 ................
PPC1-Bug>
B Byte
H Half-word
W Word
Page view 79
1 2 ... 75 76 77 78 79 80 81 82 83 84 85 ... 517 518

Comments to this Manuals

No comments