Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Show Listing/Show Source Command (4 of 4)
Shortcut key: CTRL+F2
Use the Show Listing command to switch to a listing
file if you generated a listing file during a previous
assemble. This is only useful with .ASM modules.
If used in a source file, Show Listing loads the line
of code in the listing file corresponding to the
current line of source code.
If used in a listing file, the command is titled Show
Source, and it loads the source file corresponding to
the current line in the listing file. The corresponding
source line is loaded.
Use the Listing command to display assembly-code listing.
■ Place the cursor on a line of source code.
■ Choose Listing command to see how code was assembled.
To display a Listing file from the current directory:
┌─────────────────────────────────┐
│ File Name: *.lst▒▒▒ ◄───────────│─■ Type a file name here
│ C:XX ◄──current directory │
│ │ OR
│ File List: Drives/Dirs │
│ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒ │ ■ Select a file name
│ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒ │ here
│ ▲ │ │
│ └────────────────────────│────┘
└─────────────────────────────────┘ ■ Choose <OK>
To display a Listing file from a different directory:
┌─────────────────────────────────┐
│ │ ■ Type the directory
│ File Name: *.lst▒▒▒ ◄───────────│── name and file name
│ │ here
│ C:MYPROGS ◄──current directory │ OR
│ │
│ File List: Drives/Dirs │ ■ Select directory
│ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒ ◄│── name here,
│ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒ │ THEN
│ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒ │ ■ Select file name
│ ▲ │ │
│ └────────────────────────│─────┘
└─────────────────────────────────┘ ■ Choose <OK>
TIP: ".." refers to the directory one level up.
To find Listing files in other directories:
┌─────────────────────────────────┐
│ │ ■ Type the wildcard
│ File Name: *.lst▒▒▒ ◄───────────│── form of the file name
│ │ (*.LST) here
│ C:MYPROGS ◄──current directory │
│ │ ■ Select from the list
│ File List: Drives/Dirs │ of directory and
│ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒ ◄│── drive names here
│ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒ │
│ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒ │ ■ Scan the list of file
│ ▲ │ names here
│ └────────────────────────│─────┘
└─────────────────────────────────┘ ■ Choose <Cancel>