Freescale Semiconductor Motorola MMDS0508 Operation Manual page 174

Motorola modular development system
Table of Contents

Advertisement

Command-Line Commands
SOURCE
NOTE:
174
Freescale Semiconductor, Inc.
Source Window Display
The SOURCE command toggles between source code and
disassembled code in the source/code F2 window, located at the upper
right of the debug screen. On entering MMDS software, the window
defaults to disassembled code, the window title is CODE F2, and
window contents are a disassembled representation of MCU memory. In
this object code display, the disassembled instructions change when
corresponding bytes of memory change. To scroll through this window,
press the F2 key (to select the window), then use the arrow keys.
The contents of the source/code F2 window change to source code
when the SOURCE command is executed if:
1. A map file has been loaded (a map file is loaded with the S-record
LOAD command) and
2. The program counter (PC) points to a memory area covered by
the map file.
Once a .MAP file has been loaded and the PC points to an area of user
code, the SOURCE command can be used to toggle between source
code and object code. If a mouse is installed, the symbols that appear at
the bottom of the window can be selected. Use the mouse or arrow keys
to scroll through the information in the window. Note that the F2 key does
not pertain to this window if it shows source code.
commands available in this window when a source code is displayed.
When memory data that was generated from a source file is altered, the
modified code appears in the code window but not the source file
window. Use the CLEARMAP command to clear the source file from the
host system.
Syntax:
SOURCE
Example:
>SOURCE
Toggle the display in the source/code F2
window.
Command-Line Commands
For More Information On This Product,
Go to: www.freescale.com
SOURCE
Table 6
lists the key
MMDS0508OM/D
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mmds0508

Table of Contents