How to easily install and configure TASM & DOSBOX on Windows 7/8/10.

let's get started with installation steps. Before we get started to make sure that you have the following software. If not, you can download it by clicking on it.

Requirements-.

1. DosBox installation software.

2.  TASM installation files.

Steps-

1. First, install DOSBox software on your system/PC/Laptop.by clicking above'

 dosbox software.

2. Just run the downloaded setup file to install as just like other software you install.

\


3.  After installing DOSBOX  , we have to  download TASM file , so follow next steps-


Before we get started with TASM installation on a Windows machine, let’s get some knowledge about TASM and learn what it will do for us.

Turbo Assembler (TASM) a small 16-bit computer program which enables us to write 16 bit i.e. x86 programming code on 32-bit machine. It can be used with any high level language compilers like GCC compiler set to build object files. So that programmers can use their daily routine machines to write 16-bit code and execute on x86 devices.

4. To download TASM File ,you can click on TASM installation files which is in Requirements
or you can also download it from GOOGLE also.


5. Then extract the TASM zip file.
6. Then copy that extracted the folder to C drive of your system.

7. so we completed TASM installation 
 
8.open DOSBOX  software by clicking it

9. Add the following lines after that.

mount c c:\tasm\

c:  

cd tasm

edit new.asm


10. After typing edit new.asm the edit pad will open ,there you can type your code and save it and exit



11. Now type tasm  <program_name>. Replace <program_name> with your actual program name. in my case, my program name is the timer so I will type"tasm hello.asm"



12.if the error masseges are showing none then your program is correct as you can see in above picture.

13.  And now link your program to that type tlink <program_name>.obj and hit enter. And now execute program by typing <program_name> only.
like - tlink hello1.obj

if it shows warning massage like -no stack then your program output is ready
after that by typing only program name like hello1 and pressing enter your output will appear like  below picture

So in this way you can install TASM on your system and execute x86 code on your machine. This tutorial is applicable to Windows 7/8/8.1/10.

If you face any problem while doing this, make sure that you hit the comment below with your problem.

kind regards,

safincoder




Comments