DEBUG MONITOR COMMANDS
M68CPU32BUG/D REV 1
3-23
GO
Go Execute User Program
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
MOVE.L
D0,D1
00004002
4282
CLR.L
D2
00004004
D401
ADD.B
D1,D2
00004006
E289
LSR.L
#$1,D1
00004008
66FA
BNE.B
$4004
0000400A
E20A
LSR.B
#$1,D2
0000400C
55C2
SCS.B
D2
0000400E
60FE
BRA.B
$400E
CPU32Bug>RM D0<CR>
Содержание M68CPU32BUG
Страница 16: ...GENERAL INFORMATION M68CPU32BUG D REV 1 1 8 ...
Страница 30: ...DEBUG MONITOR DESCRIPTION M68CPU32BUG D REV 1 2 14 ...
Страница 102: ...DEBUG MONITOR COMMANDS M68CPU32BUG D REV 1 3 72 ...
Страница 168: ...DIAGNOSTIC FIRMWARE GUIDE M68CPU32BUG D REV 1 6 24 ...