HP MC68040 User Manual page 56

Emulator, graphical user interface
Table of Contents

Advertisement

Chapter 1: Getting Started
Step 12: Patch assembly language code
Notice in the emulator/analyzer interface that the instruction at address "main" has
changed.
4 Click on the Patch () action key again.
A window running the vi editor again appears, allowing you to modify the patch
code that was just created. Modify the line you added previously to:
LINK A6,#0
Exit out of the editor, saving your changes.
The file you just edited is assembled, and the patch main menu appears. Type "a"
and press your carriage return key to apply the patch.
Notice in the emulator/analyzer interface that the instruction at address "main" has
been changed back to what it was originally.
When patching a single address, make sure the new instruction takes up the same
number of bytes as the old instruction; otherwise, you may inadvertently modify
code that follows.
26

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ec040Lc04064783a64783b

Table of Contents