
Debugging Modes and Default Displays
3-4
Assembly mode
Assembly mode is for viewing assembly language programs only. In this
mode, you’ll see a display similar to the one shown in Figure 3–1. When you’re
in assembly mode, you’ll always see the assembly display, regardless of
whether C or assembly language is currently running.
Windows that are automatically displayed in assembly mode include the
MEMORY window, the DISASSEMBLY window, the CPU register window, and
the COMMAND window. If you choose, you can also open a WATCH window
in assembly mode.
Mixed mode
Mixed mode is for viewing assembly language and C code at the same time.
Figure 3–3 shows the default display for mixed mode.
Figure 3–3. Typical Mixed Display (for Mixed Mode Only)
DISASSEMBLY
CALLS
1: main()
00006930
073d94f4
main:
STW.D2
A14,*B15––[12]
00006934
003ce2f4
STW.D2
A0,*+B15[7]
00006938
053d02f4
STW.D2
A10,*+B15[8]
0000693c
05bd22f4
STW.D2
A11,*+B15[9]
00006940
063d42f4
STW.D2
A12,*+B15[10]
00006944
06bd62f4
STW.D2
A13,*+B15[11]
00006948
000000f8
ZERO.L1
A0
0000694c
003c62f4
STW.D2
A0,*+B15[3]
00006950
000000f8
ZERO.L1
A0
Load
Break
Watch
Memory
Run=F5
Step=F8
Next=F10
Color
CPU
A0
00007d28
B0
00000ffc
A1
00000000
B1
00000000
A2
00007fc8
B2
00000000
A3
00000070
B3
00000000
A4
00000009
B4
00000000
A5
00000014
B5
00000000
A6
0000003c
B6
00000000
A7
00000000
B7
00000000
A8
00000000
B8
00000000
COMMAND
>>>
file sample.c
go main
mix
FILE: sample.c
0060
{
0061
str.f1 += str.f2 – value;
0062
}
0063
0064
main()
0065
{
0066
int i = 0;
MEMORY
00000000
00000000
00000000
00000000
0000000c
00000000
00000000
00000000
00000018
00000000
00000000
00000000
00000024
00000000
00000000
00000000
In mixed mode, the debugger displays all windows that can be displayed in
auto and assembly modes, regardless of whether you’re currently running
assembly language or C code. This is useful for finding bugs in C programs
that exploit specific architectural features of the ’C6x.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...