Breaking Into The Monitor; Using Software Breakpoints - HP 64793 Series User Manual

H8/338/329 emulator softkey interface
Table of Contents

Advertisement

Breaking into the
Monitor
Using Software
Breakpoints
Note
modify memory Cmd_Input string to
'A' <RETURN>
After the memory location is modified, the repetitive memory display
shows that the "Command A entered" message is written to the
destination locations.
The "break" command allows you to divert emulator execution from
the user program to the monitor. You can continue user program
execution with the "run" command. To break emulator execution from
the sample program to the monitor, enter the following command.
break <RETURN>
Software breakpoints are provided with an H8/338 special code; This
special code (5770 hexadecimal) is H8/338 undefined instruction.
When you define or enable a software breakpoint, the emulator will
replace the opcode at the software breakpoint address with the special
code.
You must set software breakpoints only at memory locations which
contain instruction opcodes (not operands or data). If a software
breakpoint is set at a memory location which is not an instruction
opcode, the software breakpoint instruction will never be executed and
the break will never occur.
Getting Started 2-17

Advertisement

Table of Contents
loading

This manual is also suitable for:

64793a64793b

Table of Contents