Searching
Memory for
Strings or
Numeric
Expressions
The HP 64700 Emulator provides you with tools that allow you to
search memory for data strings or numeric expressions. For example,
you might want to know exactly where a string is loaded. To locate the
position of the string "THIS IS MESSAGE A" in the sample program.
Type:
M> ser 2000..2fff="THIS IS MESSAGE A"
pattern match at address: 0002000
You can also find numeric expressions. For example, you might want
to find all of the CMP.B instructions in the sample program. Since a
CMP.B instruction begins with aa hex, you can search for that value by
typing:
M> ser -db 10000..106f=0aa
pattern match at address: 000101a
pattern match at address: 000101e
pattern match at address: 0001024
Making Program
Coverage
Measurements
In testing your program, you will often want to verify that all possible
code segments are executed. With the sample program, we might want
to verify that all of the code is executed if a command "A", command
"B", and an unrecognized command are input to the program.
To make this measurement, we must first reset the coverage status.
M> cov -r
Getting Started 2-29
Содержание H8/3003
Страница 2: ......
Страница 12: ...Figure 1 1 HP 64784 Emulator for the H8 3003 1 2 Introduction to the H8 3003 Emulator ...
Страница 56: ...Notes 2 36 Getting Started ...
Страница 63: ...Figure 3 3 Installing the PGA adaptor 3001 mode 3 4 3 7 In Circuit Emulation ...
Страница 64: ...Figure 3 4 Installing the PGA adaptor 3004 5 mode 3 3 8 In Circuit Emulation ...
Страница 82: ...Target System Interface ø RES STBY NMI MD0 2 3 26 In Circuit Emulation ...
Страница 83: ... RESO P1 P2 P5 A0 23 P3 P4 D0 15 3 27 In Circuit Emulation ...
Страница 84: ...P6 P8 P9 PA PB PC 3 28 In Circuit Emulation ...
Страница 85: ...P7 AVcc Vref AVss 3 29 In Circuit Emulation ...
Страница 105: ...Notes 4 20 Configuring the Emulator ...
Страница 107: ...CONFIG_ITEMS Summary H8 3003 emulator configuration items Syntax A 2 H8 3003 Emulator Specific Command Syntax ...
Страница 121: ...Notes A 16 H8 3003 Emulator Specific Command Syntax ...