Masm

Thread Starter

ellea

Joined Nov 25, 2004
6
Now I have this program to assemble and likn and I also have to print out the .com file
I forgot the commands in dos to do so.
Please HELP!!!!!! :(
 

Perion

Joined Oct 12, 2004
43
Originally posted by ellea@Nov 27 2004, 04:21 PM
Now I have this program to assemble and likn and I also have to print out the .com file
I forgot the commands in dos to do so.
Please HELP!!!!!! :(
[post=3830]Quoted post[/post]​
I assume you mean the MASM command line option switches to assemble, link, and give you some listing or map file maybe? I don't think you really want to print the actual binary .com file do you? If so try opening the .com file with edit (runs DOS's edit.com program if it's in the environment path) and redirect it to the printer or a file:

edit myprog.com > prn [may or may not work depending on your system setup]
- or try sending its output to a text file -
edit myprog.com > output.txt
- then open it in edit and print it out manually -
edit output.txt [then print it out]

The MASM manuals in pdf can be found here.

The syntax for using MASM from the DOS command line are different for pre-MASM 6.1. So, the command line options and syntax depend on what version of MASM you're using.

The command line options for ML are probably what you are looking for and are listed and explained at MSDN

Perion
 
Thread starter Similar threads Forum Replies Date
N Microcontrollers 2
J Programming & Languages 0
A Homework Help 4
Top