Motorola M68CPU32BUG Instrukcja Użytkownika Strona 33

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 196
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 32
DEBUG MONITOR COMMANDS
M68CPU32BUG/D REV 1 3-3
BC Block of Memory Compare BC
3.2 BLOCK OF MEMORY COMPARE
BC <range><del><addr>[;B|W|L]
options:
B – Byte
W – Word
L – Longword
The BC command compares 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, W,
or L defines the size of data to which the count is referring. For example, a count of four with an
option of L would mean to compare four long words (or 16 bytes) to the <addr> location. If the
range beginning address is greater than the end address, an error results. An error also results if
an option field is specified without a count in the range.
For the following examples, assume the following data is in memory.
CPU32Bug>MD 4000:20;B<CR>
00004000 54 48 49 53 20 49 53 20 41 20 54 45 53 54 21 21 THIS IS A TEST!!
00004010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
CPU32Bug>MD 4100:20;B<CR>
00004100 54 48 49 53 20 49 53 20 41 20 54 45 53 54 21 21 THIS IS A TEST!!
00004110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
EXAMPLES
CPU32Bug>BC 4000,401F 4100<CR>
Effective address: 00004000
Effective address: 0000401F
Effective address: 00004100
CPU32Bug> Memory compares, nothing printed
Przeglądanie stron 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 195 196

Komentarze do niniejszej Instrukcji

Brak uwag