Displaying The Trace - HP 64793 Series User Manual

H8/338/329 emulator softkey interface
Table of Contents

Advertisement

Displaying the Trace

Trace List
Label:
Address
Base:
symbols
after
:Cmd_Input
+001
:cmd_rds.s:+0010
+002
cmd_rds.:Exe_Cmd
+003
cmd_rds.src:Scan
+004
:cmd_rds.s:+0014
+005
:cmd_rds.s:+0016
+006
cmd_rds.sr:Cmd_A
+007
:cmd_rds.s:+0018
+008
:cmd_rds.s:+001A
+009
cmd_rds.sr:Cmd_B
+010
:cmd_rds.s:+0026
+011
:cmd_rds.s:+0028
+012
:cmd_rds.s:+002A
+013
cmd_rds.sr:Cmd_I
+014
cmd_rd:Write_Msg
STATUS:
H8/338--Running user program
display trace
run
trace
The message "Emulation trace started" will appear on the status line.
Now, modify the command input byte to "B" with the following
command.
modify memory Cmd_Input bytes to 42h
<RETURN>
The status line now shows "Emulation trace complete".
The trace listings which follow are of program execution on the
H8/338 emulator. To display the trace, enter:
display trace <RETURN>
Offset=0
Data
hex
42FF
42
47F8
BEQ cmd_rds.src:Scan
AA41
CMP.B #41,R2L
6A0A
6A0A
4706
BEQ cmd_rds.sr:Cmd_A
AA42
CMP.B #42,R2L
FB11
FB11
470A
BEQ cmd_rds.sr:Cmd_B
4010
4010
FB11
MOV.B #11,R3L
7904
MOV.W #2011,R4
2011
2011
4006
BRA cmd_rd:Write_Msg
FB0F
FB0F
7905
MOV.W #FC02,R5
step
display
Line 0 (labeled "after") in the trace list above shows the state which
triggered the analyzer. The trigger state is always on line 0. The other
states show the exit from the Scan loop and the Exe_Cmd and Cmd_B
instructions. To list the next lines of the trace, press the <PGDN> or
<NEXT> key.
Opcode or Status
mnemonic w/symbols
read
mem byte
fetch mem
fetch mem
fetch mem
fetch mem
fetch mem
Emulation trace complete______........
modify
break
time count
relative
------------
200
nS
200
nS
200
nS
200
nS
200
nS
200
nS
200
nS
200
nS
200
nS
200
nS
200
nS
200
nS
200
nS
200
nS
end
---ETC--
Getting Started 2-23

Advertisement

Table of Contents
loading

This manual is also suitable for:

64793a64793b

Table of Contents