Chapter 1: Getting Started
Step 12: Patch assembly language code
Step 12: Patch assembly language code
The Patch () action key lets you patch code in your program.
1 With "main" still in the entry buffer, click on the Run Xfer til () action key.
2 To display memory with assembly-level instructions intermixed with the high-level
source lines, click on the Disp Src & Asm action key.
3 Click on the Patch () action key.
A window appears and the vi editor is started. Add the line:
LINK A6,#1234h
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 <RETURN> to apply the patch.
44