HP 64793 Series User Manual page 36

H8/338/329 emulator softkey interface
Table of Contents

Advertisement

Memory
:mnemonic
:file = cmd_rds.src:
address
label
1000
:Init
1004
cmd_rd:Clear
1006
100A
cmd_rds:Scan
100E
1010
1012
cmd_:Exe_Cmd
1014
1016
1018
101A
*
101C
cmd_rd:Cmd_A
101E
1022
1024
cmd_rd:Cmd_B
1026
STATUS:
H8/338--Running in monitor____________________________________...R....
display memory Init mnemonic
run
trace
step
modify software_breakpoints set
Cmd_A <RETURN>
Notice that when using local symbols in expressions, the source file in
which the local symbol is defined must be included.
After the software breakpoint has been set, enter the following
command to display memory and see if the software breakpoint was
correctly inserted.
display memory Init memonic <RETURN>
data
7907FF80
MOV.W #FF80,R7
F800
MOV.B #00,R0L
6A88FE80
MOV.B R0L,@:Cmd_Input
6A0AFE80
MOV.B @:Cmd_Input,R2L
AA00
CMP.B #00,R2L
47F8
BEQ cmd_rds.src:Scan
AA41
CMP.B #41,R2L
4706
BEQ cmd_rds.sr:Cmd_A
AA42
CMP.B #42,R2L
470A
BEQ cmd_rds.sr:Cmd_B
4010
BRA cmd_rds.sr:Cmd_I
5770
Illegal Opcode
79041100
MOV.W #1100,R4
400E
BRA cmd_rd:Write_Msg
FB11
MOV.B #11,R3L
79041111
MOV.W #1111,R4
display
modify
As you can see, the software breakpoint is shown in the memory
display with an asterisk.
Enter the following command to cause the emulator to continue
executing the sample program.
run <RETURN>
Now, modify the command input byte to an invalid command for the
sample program.
modify memory Cmd_Input bytes to 41h
<RETURN>
You will see the line of the software breakpoint is displayed in
break
end
---ETC--
Getting Started 2-19

Advertisement

Table of Contents
loading

This manual is also suitable for:

64793a64793b

Table of Contents