Introduction: 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)

Step 1:

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

Step 2:

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

Step 3:

3. Download this file. (Mirror 1: https://goo.gl/KHfm0l)

Step 4:

5. Extract the contents of the .zip file.

Step 5:

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:

7. Download DOSBOX here.

Step 7:

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:

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:

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:

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:

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.

Comments

author
AhmadB67 (author)2016-12-28

Thanks

author
Featheryry (author)2016-06-12

A few days ago, i got a windows 7 key from one page: https://plus.google.com/103156713044838092165/post... . After i use the key. Key not only work but it is genuine. Hope also can help you.


author
NaveedA33 (author)2016-05-19

i followed tutorial and everything went according to it till step 8 but when i wrote TLINK M (split file name in my case ) it gives following error as shown in screenshot attached with it

split.obj : unable to open file

why is it so ? can anyone help me fast please ???

thank in advance

split.png
author
NaveedA33 (author)2016-05-19

i followed tutorial and everything went according to it till step 8 but when i wrote TLINK M (split file name in my case ) it gives following error as shown in screenshot attached with it

split.obj : unable to open file

why is it so ? can anyone help me fast please ???

thank in advance

split.png
author
Wgqra27J (author)2016-01-19

Personally recommend you going: www.cdekey.com, to get product keys for your windows 7,keys in this site are of good quality and in low price.

.

author
AkshayS49 (author)2015-12-01

ty a lot man u saved my life

author
GulR (author)2015-10-27

unable to download the file from file URL given in step 3.

author
ali.elmoursy (author)2015-04-19

I can not see the progress of the Floating point registers. When I use RN after any Tracing of any Assembly instruction I can not see a modification in the ST registers. However the memory is modified correctly.

author
MikeS5 (author)2014-09-09

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

author
johnnys2 (author)MikeS52015-02-25

you need to be in same path as the TASM.EXE

example - compile a small program inside a folder

c:\tasm\example\3dcube> ..\..\tasm.exe points.asm
c:\tasm\example\3dcube> ..\..\tlink.exe points.obj

-- now there should be an exe file

author
GreatStudentEdo made it! (author)2015-02-04

thanks

ss (2015-02-05 at 11.42.40).jpg
author
mdflorin (author)2015-01-12

Very useful tutorial. Keep up the good work.

author
IonB (author)2014-12-04

author
Mic100 (author)2013-08-02

Hi Nice :-) You can use D-Fend-Reloaded to
D-Fend-Reloaded is a frontend for DOSbox (version 0.74)
See my instructable:
https://www.instructables.com/id/DOWNLOAD-TURBO-PASCAL-71-AND-RUN-IT-ON-WINDOWS-SE/

author
faltoo (author)2013-01-20

this program cannot run in dos mode please help me bl_bilal@yahoo.com

author
farvahar (author)2012-12-24

i have a complete collection of 32 bit assemblers
i need 64bit dos based assembler. (not GUI assembler)

author
farvahar (author)2012-12-24

download link is removed form 4shared please update the link.

author
Computothought (author)2012-06-30

Cool. Do not have any 64 bit machines, so we downloaded the 32 bit version to play with.

About This Instructable

252,792views

11favorites

More by jodzjcm: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)
Add instructable to: