Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!columbia!rutgers!ames!sdcsvax!ucsdhub!hp-sdd!hplabs!hp-pcd!hpcvlo!everett From: everett@hpcvlo.HP.COM (Everett Kaser) Newsgroups: comp.sys.ibm.pc Subject: Re: What to do with .ASM file Message-ID: <1610026@hpcvlo.HP.COM> Date: Wed, 5-Aug-87 18:20:51 EDT Article-I.D.: hpcvlo.1610026 Posted: Wed Aug 5 18:20:51 1987 Date-Received: Sat, 8-Aug-87 11:58:38 EDT References: <369@mtuxo.UUCP> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 26 >hpcvlo:comp.sys.ibm.pc / tmm1@mtuxo.UUCP (T.MORGAN) / 8:15 am Aug 3, 1987 / >This may seem like I a stupid question but: > How do you turn a .ASM file into an executable program. >I belive it has something to do with LINK and DEBUG but I >am not sure. You're right, that DOES seem like a stupid question! :-) Assuming that the .ASM file contains all of the source code, it's as simple as: MASM xxx; LINK xxx; where xxx is the name (without the .ASM extension) of the file. If the file is ORGed at 100h (the statement would be near the beginning of the file somewhere) then it was probably intended to be a .COM program, in which case you will also need to: EXE2BIN xxx xxx.com to convert the .EXE into a .COM program. If that doesn't do it, then you need to sit down with the MASM, LINK, and MS-DOS manuals for a while, and MAY GOD HAVE MERCY ON YOUR SANITY! Everett Kaser Hewlett-Packard Co. Corvallis, OR