
Host-dependent Information
DOS/386 Environment
G-2
DSP ASSEMBLER REFERENCE MANUAL
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
G.2.2 Installation
The Assembler is installed from the distribution CD-rom as part of the CLAS package. A
directory on the CD-rom is provided for each supported platform, containing a README
file containig the installation instructions
G.2.3 Source File Text
Input to the Assembler should be in a standard ASCII text file with carriage return/line feed
character pairs as line terminators. This type of file is created by most standard text editing
programs used on 386 PCs, such as the DOS-supplied editor EDIT.
Using word processing packages for creating Assembler input source files is a little more
involved, but can certainly be done. Word processing packages use special character en-
codings to indicate format and font settings, margins, indentation, and so forth. In some
cases these special encodings violate the input requirements of the Assembler, and must
be removed or changed.
Most word processing programs have a facility for converting internal-format documents
to standard ASCII text files. See Chapter 2, Input File Format, for more information on the
form and content of Assembler input files.
G.2.4 Invoking the Assembler
The Assembler is invoked from the DOS command line by entering the name of the As-
sembler executable without the extension, followed by any desired options, and finally the
names of the source files to be assembled. See Chapter 1, Running The Assembler, for
a list of options which can be included on the command line.
As an example, if the Assembler diskette was loaded in drive A, and the source file was
located on the disk in drive B, the following command at the DOS prompt would assemble
the file
MYFILE.ASM
, putting the object file
MYFILE.CLN
and the listing file
OUT-
FILE.LST
onto the disk in drive B as output:
A:ASM56000 -B
b:myfile.cln
-L
b:outfile.lst b:myfile
Since DOS supports standard input and output channels, in the example above any warn-
ing or error messages would appear both in the listing file and on the standard output (by
default the console screen).
DOS also supports I/O redirection, so that the Assembler listing can be sent to a file or
directly to an output device. Given a hard disk environment where the Assembler execut-
able has been loaded into a directory
BIN
that is in the program search path, the following
command will assemble the source file FFT.ASM and send the listing output directly to the
Line Printer 1 device:
ASM56000
fft.dsp
>LPT1:
F
Freescale Semiconductor, Inc.
n
.