Motorola M68CPU32BUG Uživatelský manuál Strana 36

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 98
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 35
DEBUG MONITOR COMMANDS
M68CPU32BUG/D REV 1 3-40
MD Memory Display MD
3.19 MEMORY DISPLAY
MD[S] <addr>[:<count>|<addr>][; [B|W|L|DI]]
Use the MD command to display the contents of multiple memory locations. MD accepts the
following data types:
Integer Data Type
B – Byte
W – Word
L – Longword
The default data type is word (W). Integer data types are always displayed in both hex and
ASCII. The DI option enables the resident MCU disassembler. No other option is allowed if DI is
selected.
The optional count argument in the MD command specifies the number of data items to be
displayed, or the number of disassembled instructions to display if the disassembly option is
selected. The default is 8 if no value for <count> is entered. The default count is changed to 128
if the S (sector) modifier is used. After the command has completed, enter <CR> at the prompt
to re-execute the command and display the same number of lines of data beginning at the next
address.
EXAMPLES
CPU32Bug>md C000<CR>
0000C000 2800 1942 2900 1942 2800 1842 2900 2846 (..B)..B(..B).(F
CPU32Bug><CR>
0000C010 FC20 0050 ED07 9F61 FF00 000A E860 F060 1..Pm..a....h’p’
Assume the following processor state: A2=00003500, D5=00000127.
CPU32Bug>md (a2,d5):&19;b<CR>
00003627 4F82 00C5 9B10 337A DF01 6C3D 4B50 0F0F 0..E..3z_.l=KP..
00003637 31AB 80 1+.
CPU32Bug>
DEBUG MONITOR COMMANDS
M68CPU32BUG/D REV 1 3-41
MD Memory Display MD
CPU32Bug>md 5008;di<CR>
00005008 46FC2700 MOVE.W #$2700,SR
0000500C 61FF0000023E BSR.L #$524C
00005012 4E7AD801 MOVEC.L VBR,A5
00005016 41ED7FFC LEA.L $7FFC(A5),A0
0000501A 5888 ADDQ.L #$4,A0
0000501C 2E48 MOVE.L A0,A7
0000501E 2C48 MOVE.L A0,A6
00005020 13C7FFFB003A MOVE.B D7,($FFFB003A).L
CPU32Bug>
NOTE
If the address location requested is not displayed, the automatic
offset register is non-zero and has been added to the address. See
the offset (OF) command.
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Zobrazit stránku 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 97 98

Komentáře k této Příručce

Žádné komentáře