To Patch Code Using A Macro - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Chapter 1: Getting Started with the Graphical Interface

To patch code using a macro

To patch code using a macro
1 Position the cursor over line 38.
2 Select Attach Macro from the Code window pop-up menu.
The Macro Operations dialog box appears. The macro "patch_temp" is
already selected. Before we attach the macro, let's examine it:
3 Click on the Edit button in the dialog box.
This macro will set current_temp to 71 each time the breakpoint is
encountered. The macro skips over the assignment in the program source
code by setting the program counter to line 39. The return value of 0 tells the
macro to stop program execution after the macro.
22

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents