U> tl 0..20
This is not what we were expecting to see. (We expected to see the
program executed Exe_Cmd routine which starts from 101e hex.) As
you can see at the fist line of the trace list, address 101e hex appears on
the address bus during the program executing Scan loop. This triggered
the emulation analyzer before EXE_Cmd routine was executed. To
avoid mis-trigger by this cause, set the trigger condition to the second
instruction of the routine you want to trace. Type:
U> tg addr=1020
To change the trigger position so that 10 states appear before the trigger
in the trace list, type:
U> tp -b 10
Start the trace again and modify memory:
U> t
U> m 0ff800=41
Now display the trace list:
U> tl -10..10
As you can see, the analyzer captured the execution of Exe_Cmd
routine which starts from line -2 of the trace list.
Line addr,H H8/3042 mnemonic,H count,R seq
----- ------ ----------------------------------- --------- ---
0 00101e aa41 fetch mem --- +
1 001014 MOV.B @0ff800,R2L 0.120 uS .
2 001016 000f fetch mem 0.120 uS .
3 001018 f800 fetch mem 0.120 uS .
4 00101a CMP.B #00,R2L 0.120 uS .
5 0ff800 00xx read mem byte 0.120 uS .
6 00101c BEQ 001014 0.120 uS .
7 00101e aa41 fetch mem 0.160 uS .
8 001014 MOV.B @0ff800,R2L 0.120 uS .
9 001016 000f fetch mem 0.120 uS .
10 001018 f800 fetch mem 0.120 uS .
11 00101a CMP.B #00,R2L 0.120 uS .
12 0ff800 00xx read mem byte 0.120 uS .
13 00101c BEQ 001014 0.120 uS .
14 00101e aa41 fetch mem 0.120 uS .
15 001014 MOV.B @0ff800,R2L 0.160 uS .
16 001016 000f fetch mem 0.120 uS .
17 001018 f800 fetch mem 0.120 uS .
18 00101a CMP.B #00,R2L 0.120 uS .
19 0ff800 00xx read mem byte 0.120 uS .
20 00101c BEQ 001014 0.120 uS .
Getting Started 2-31
Содержание 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 ...