Hardware Reference
In-Depth Information
Example 3.9
+ br
1020
1040
1050
Breakpoints:
1020
1040
Breakpoint Table Full
.
nobr [ * Address + * Address + ]
The nobr command removes one or more previously entered breakpoints. If the nobr com-
mand is entered without any argument, all user breakpoints are removed from the breakpoint
table.
Example 3.10
+ br
2000
2010
2020
2040
1090
Breakpoints:
2000
2010
Breakpoint Table Full
+ nobr
2000
Breakpoints:
2010
+
g [ * Address + ]
The g command is used to begin execution of user code in real time. Before beginning the
execution of user code, any breakpoints that were set with the br command are placed in mem-
ory. Execution of the user program continues until a user breakpoint is encountered, a CPU
exception occurs, the stop or reset command is entered, or the EVB's reset switch is pressed.
When the user code halts for any of these reasons and control is returned to D-Bug12, a message
is displayed explaining the reason for user program termination. In addition, D-Bug12 disas-
sembles the instruction at the current PC address, prints the CPU register contents, and waits
for the next D-Bug12 command to be entered by the user. If the starting address is not supplied
in the command line parameter, program execution will begin at the address defined by the cur-
rent value of the program counter.
Example 3.11
+ g 1500
User Bkpt Encountered
PP PC
SP
X
Y
D 5 A:B
CCR 5 SXHI
NZVC
38 150C
3C00
7B48
0000
03:E8
1001
0001
xx: 150C
911E
CMPA
$001E
.
gt * Address +
The gt ( go till ) command is similar to the g command except that a temporary breakpoint
is placed at the address supplied at the command line. Any breakpoints that were set by the use
 
Search WWH ::




Custom Search