Stepping Through
the Program
8. You can also direct the emulator processor to execute one
instruction or number of instructions. Type:
M> s 1 1000;reg
This command steps 1 instruction from address 1000 hex, and
displays registers. You will see:
0001000 - MOV.L #000ff904,ER7
PC =0001006
reg pc=001006 ccr=80 er0=00000000 er1=000ff800 er2=00000000 er3=00000000
reg er4=00000000 er5=00000000 er6=00000000 er7=000ff904 sp=000ff904 mdcr=c7
Notice that PC contains 1006 hex.
9. To step one instruction from present PC, you only need to type
s at prompt. Type:
M> s;reg
You will see:
0001006 - MOV.L #000ff800,ER1
PC =000100c
reg pc=00100c ccr=80 er0=00000000 er1=000ff800 er2=00000000 er3=00000000
reg er4=00000000 er5=00000000 er6=00000000 er7=000ff904 sp=000ff904 mdcr=c7
Tracing Program
Execution
Predefined Trace
Labels
Three trace labels are predefined in the H8/3003 emulator. You can
view these labels by entering the tlb (trace label) command with no
options.
M> tlb
#### Emulation trace labels
tlb addr 16..39
tlb data 0..15
tlb stat 40..57
2-22 Getting Started
Summary of Contents for H8/3003
Page 2: ......
Page 12: ...Figure 1 1 HP 64784 Emulator for the H8 3003 1 2 Introduction to the H8 3003 Emulator ...
Page 56: ...Notes 2 36 Getting Started ...
Page 63: ...Figure 3 3 Installing the PGA adaptor 3001 mode 3 4 3 7 In Circuit Emulation ...
Page 64: ...Figure 3 4 Installing the PGA adaptor 3004 5 mode 3 3 8 In Circuit Emulation ...
Page 82: ...Target System Interface ø RES STBY NMI MD0 2 3 26 In Circuit Emulation ...
Page 83: ... RESO P1 P2 P5 A0 23 P3 P4 D0 15 3 27 In Circuit Emulation ...
Page 84: ...P6 P8 P9 PA PB PC 3 28 In Circuit Emulation ...
Page 85: ...P7 AVcc Vref AVss 3 29 In Circuit Emulation ...
Page 105: ...Notes 4 20 Configuring the Emulator ...
Page 121: ...Notes A 16 H8 3003 Emulator Specific Command Syntax ...