- TMS370 Microcontroller/Gang Programmer User's Guide

Editing the Contents of PC Memory
3-26
Operating in the Display Window
3.14 Editing the Contents of PC Memory—the Edit Command
The edit command puts the programmer in a special mode that allows you to
overwrite the contents of the PC memory by typing new values.
When you press
, the cursor moves into the PC memory display area. You
can scroll up and down through the PC memory with the cursor and function
keys, and modify individual bytes.
The value at the cursor location is highlighted to indicate that you can edit it.
Type the new value in hexadecimal. Use the normal movement keys (arrows,
space bar) to write the new value and move to the next location, or press the
key to leave the edit mode.
The table below summarizes the commands, contrl keys, and functions avail-
able while in the display window edit mode.
Table 3–5. Display Window Memory Edit Commands
Command Function
F1 (Pg Down) Scroll forward through PC memory.
F2 (Pg Up) Scroll back through PC memory.
F3 (Address) Dump PC memory at specified address.
F4 (DisAsm) Disassemble using current position as starting address.
ESC Accept value, leave Edit mode, and return to display command
menu.
Move cursor to previous location.
Move cursor to next location.
Move up one line, scrolling if necessary.
Move down one line, scrolling if necessary.
Space Bar Move cursor to next location.
Return Key Accept value and move to next location.
Tab Key Move forward 4 locations.
Shift/Tab Key Move backward 4 locations.
Control /
Move to beginning of line.
Control /
Move to end of line.
In the edit mode, the second line of the display window contains the address
of the cursor location and the 16-bit value that is stored there. It is this address
that is used as the address for the F4 (disassemble) function. For example:
[101F] = F26E,
where F26E is the contents of memory location 101F.