Go Execute User Program (Go) - Motorola M68CPU32BUG User Manual

Debug monitor
Table of Contents

Advertisement

GO
3.12 GO EXECUTE USER PROGRAM
GO [<addr>]
Use the GO command (alias G) to initiate target code execution. All previously set breakpoints
are enabled. If an address is specified, it is placed in the target PC. Execution starts at the target
PC address.
The sequence of events is:
1. An address is specified and loaded into the target PC
2. If a breakpoint is set at the target PC address, the instruction is traced at the target PC
(executed in trace mode)
3. All breakpoints are inserted in the target code
4. Target code execution resumes at the target PC address
There are several methods for returning control to CPU32Bug:
Execute the .RETURN TRAP #15 function
Press the ABORT switch or RESET switch of the M68300PFB Platform Board
Encountering a breakpoint with 0 count
Generation of an unexpected exception
EXAMPLE
The following program resides at $4000.
CPU32Bug>MD 4000;DI<CR>
00004000
2200
00004002
4282
00004004
D401
00004006
E289
00004008
66FA
0000400A
E20A
0000400C
55C2
0000400E
60FE
CPU32Bug>RM D0<CR>
M68CPU32BUG/D REV 1
Go Execute User Program
MOVE.L
CLR.L
ADD.B
LSR.L
BNE.B
LSR.B
SCS.B
BRA.B
3-23
DEBUG MONITOR COMMANDS
D0,D1
D2
D1,D2
#$1,D1
$4004
#$1,D2
D2
$400E
GO

Advertisement

Table of Contents
loading

Table of Contents