Stepping Through The Program - HP H8/3003 User Manual

Emulator terminal interface
Table of Contents

Advertisement

Stepping Through
the Program
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
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
#### Emulation trace labels
tlb addr 16..39
tlb data 0..15
tlb stat 40..57
2-22 Getting Started
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:
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:
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

Advertisement

Table of Contents
loading

Table of Contents