Operation
D-Bug12 Command Set
M68HC12A4EVB Evaluation Board — Rev. 1
User’s Manual
MOTOROLA
Operation
53
Go Execute a User Program
G
Syntax:
G [<
Address>]
Where:
<
Address>
is an optional 16-bit hexadecimal number.
The G command is used to begin the execution of user code in real time. Before
beginning execution of user code, any breakpoints that were set with the BR
command are placed in memory. Execution of the user program continues until
a user breakpoint is encountered, a CPU exception occurs, or the EVB’s reset
or program-abort switch is pressed.
When user code halts for any of these reasons (except reset, which wipes the
slate clean) and control is returned to D-Bug12, a message is displayed
explaining the reason for user program termination. In addition, D-Bug12
disassembles the instruction at the current program counter (PC) address, prints
the CPU12’s register contents, and waits for the next D-Bug12 command to be
entered by the user.
If a starting address is not supplied in the command line parameter, program
execution will begin at the address defined by the current value of the PC.
Restrictions:
None
Example:
>G 800
User Breakpoint Encountered
PC
SP
X
Y
D = A:B
CCR = SXHI
NZVC
0820
09FE
057C
0000
00:00
1001
0100
0820 08 INX
>
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..
AR
CH
IVE
D B
Y F
RE
ES
CA
LE
SE
MI
CO
ND
UC
TO
R,
IN
C.