Motorola M68CPU32BUG User Manual page 73

Debug monitor
Table of Contents

Advertisement

MM
EXAMPLES
CPU32Bug>MM 3100<CR>
00003100 1234?<CR>
00003102 5678? 4321<CR>
00003104 9ABC? 8765^<CR>
00003102 4321?<CR>
00003100 1234? abcd.<CR>
CPU32Bug>MM 3001;LA<CR>
00003001 CD432187?<CR>
00003009 00068010? 68010+10=<CR>
00003009 00068020?<CR>
00003009 00068020? .<CR>
CPU32Bug>MM 4000<CR>
00004000 0000? 'A'<CR>
00004002 0000? 'B'<CR>
00004004 0000? 'CD'<CR>
00004006 0000? 'EFG'<CR>
00004008 0000? .<CR>
CPU32Bug>MD 4000<CR>
00004008 0041 0042 4344 4647 0000 0000 0000 0000
CPU32Bug>
The DI option activates the one-line assembler/disassembler. All other options are invalid if DI is
selected. The contents of the specified memory location is disassembled and displayed and the
user prompted for an input with a question mark ( ? ). At this point the user has three options:
Enter <CR> – This closes the present location and continues with disassembly of the
next instruction. The instruction is unchanged.
Enter a new source instruction followed by <CR> – This actuates the assembler to
assemble the new instruction and generate a disassembly of the object code generated.
Enter <CR> – This closes the present location and exits the MM command.
If a new source line is entered (second option above), the present line is erased and replaced by
the new source line.
If an error is found during assembly, the caret symbol (^) appears below the suspect field
followed by an error message. The accessed location is redisplayed.
Refer to Chapter 4 for additional information about the assembler.
M68CPU32BUG/D REV 1
Memory Modify
Access location 3100.
Modify memory.
Modify memory and backup.
No change, backup still utilized.
Modify memory and exit.
Longword access to location 3001.
Alternate location accesses.
Modify and re-open location.
No change, re-open still utilized.
Exit MM.
Modify WORDs starting at $4000.
Enter ASCII 'A', right justified.
Enter ASCII 'B', right justified.
Enter ASCII 'CD', right justified.
Enter ASCII 'FG', right justified. Note the 'E' is
truncated due to right justified WORD size!
Exit MM.
3-43
DEBUG MONITOR COMMANDS
.A.BCDFG........
MM

Advertisement

Table of Contents
loading

Table of Contents