The ASSEMBLE.BAS program will assemble source code files, using ML.EXE, and
then generate DATA statements that can be included into QBASIC programs for
use with CALL ABSOLUTE.  You will need to have the ML.EXE program available.

If you do not already have ML.EXE set up on your machine, take a look at the
web page at http://www/easystreet.com/~jkirwan/pctools.html and get the parts
you need from there.  Once it is installed and working, you can use this tool.

ASSEMBLE.BAS is designed to be used with QBASIC.  It will work with the other
compiler tools, such as QB 4.5 and VB-DOS, but the compilers have much better
ways to use the ML.EXE program than with CALL ABSOLUTE.  If you plan to write
assembly code only for use with the compilers, you should simply use ML.EXE
as it was designed for, generating OBJ files that can be linked or placing
the OBJ files into LIB files and/or QLB files for use with the compilers.

To demostrate this program, just use:

    QBASIC /RUN ASSEMBLE

Then enter in the REVERSE.ASM file as your filename to process.  You can then
select whether you want bytes, words, or long values in your DATA statements.
The ASSEMBLE.BAS program will then invoke ML.EXE and use the output files to
create a new file containing the DATA statements.  Normally, by default, the
extension of this output file is .DAT, but if there already is such a file in
the directory, ASSEMBLE.BAS will select a different output file name.

The ZIP file includes the pre-assembled files for REVERSE.ASM, so you can
look at them without having to run ASSEMBLE.BAS.  There is also a REVERSE.BAS
program which shows one way that the REVERSE.DAT file could be used to make a
usable program.

Email me at jkirwan@easystreet.com, if you wish.

Jon
