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)

by jodzjcm in Circuits > Computers

337523 Views, 12 Favorites, 0 Comments

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)

1.jpg
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)

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

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

4.jpg

3. Download this file: https://drive.google.com/file/d/0B__kdfmfDbTLbGE4ZlRlRVJGaG8/view?resourcekey=0-J5i_vTMK91ZpuP18b5wZvQ

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

6.jpg
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.

7.jpg
7. Download DOSBOX here.

8.jpg
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:

9.jpg
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>

10.jpg
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

11.jpg
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.

12.jpg
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.