Instructables

How to run TASM and Compile x86 Assembly Program in Windows 7 64 bit Version (Including the Removed Commands in Windows 7 64 bit: Edit and Debug)

How to Run TASM and Compile x86 Assembly Programs in Windows 7 64 bit Version (including the removed commands in Windows 7 64 bit: Debug and Edit)
 
Remove these adsRemove these ads by Signing Up

Step 1:

Picture of
1. Go to Start, and My Computer. Click on (C:) Local Disk C (or any desired location you want).

Step 2:

Picture of
2. On the directory, create a folder and name it TASM ( or any name you want). 

Step 3:

Picture of
3. Download this file.

Step 4:

Picture of
5. Extract the contents of the .zip file.

Step 5:

Picture of
5. Copy the extracted files to the folder TASM (or to the folder you've made awhile ago). Also, don't forget to extract the DEBUG125.zip to the same folder.

Step 6:

Picture of
7. Download DOSBOX here.

Step 7:

Picture of
8. After installing the DOSBox, run it and type the following lines:

MOUNT E C:\TASM    
E:



If you chose a while ago a custom drive besides the directory of C:

LET X be your drive letter:

MOUNT E X:\TASM
E:

Step 8:

Picture of
9. Put your assembly code (e.g <your filename>.asm) in the same directory where you installed TASM and TLINK and run it by typing:

TASM <yourfilename>
TLINK <yourfilename>

Step 9:

Picture of
10. The executable file is located in the folder TASM or your chosen directory. You can run it as it is or via CMD by typing <yourfilename>.exe

Step 10:

Picture of
Extra (Optional):
11. The debug command was deleted in Windows 7 64 bit machines. The file that you've downloaded and installed has the 'debug' executable files. Now, you can run it via DOSBox by typing in DEBUG or DEBUG <your+executable+file>.exe.

Step 11:

Picture of
Extra (Optional):
11. The edit command was deleted in Windows 7 64 bit machines. The file that you've downloaded and installed has the 'edit' executable file. Now, you can run it via DOSBox by typing in edit.

This feature is not really that important in programming assembly because you can write your codes in the notepad or any text editor applications.
MikeS522 days ago

every-time I try to assemble my program I get a message saying illegal command tasm.

Mic1001 year ago
Hi Nice :-) You can use D-Fend-Reloaded to
D-Fend-Reloaded is a frontend for DOSbox (version 0.74)
See my instructable:
http://www.instructables.com/id/DOWNLOAD-TURBO-PASCAL-71-AND-RUN-IT-ON-WINDOWS-SE/
faltoo1 year ago
this program cannot run in dos mode please help me bl_bilal@yahoo.com
farvahar1 year ago
i have a complete collection of 32 bit assemblers
i need 64bit dos based assembler. (not GUI assembler)
farvahar1 year ago
download link is removed form 4shared please update the link.
Cool. Do not have any 64 bit machines, so we downloaded the 32 bit version to play with.