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

Before we get started with TASM installation on 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 compliers 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.

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

Requirements.

1. DosBox software.

2.  TASM installation files.

Steps

1. First, install DOSBox software on your system.

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

3. Then extract the TASM zip file.

4. After that copy that extracted the folder to C drive of your system.

5. Now we have to mount our C drive to DosBox so that we can use our TASM libraries there.

6. To do that go to the following path on your PC

For 32-bit PC

C:\Program Files\DOSBOX-0.74

For 64-bit PC

C:\Program Files (x86) \DOSBOX-0.74

7. Then there you will see a file named as “DOSBOX 0.74 Options” click on it to open.

8. It will open a text file in notepad. Then navigate to the last line of that file where it shows “# You can put your MOUNT lines here”.

9. Add following lines after that.

mount c c://tasm

c://

10. And save that file.

11. And now open DOSBOX. You’re done.
12. To run a TASM program copy your program file into TASM folder which is under your C: drive.

13. And now open DOSBOX. And navigate to TASM folder by typing cd TASM and hit enter.

14. 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 timer.asm

15. After you hit enter. You will see an error, warning messages. If there isn’t anything wrong in your program syntactically, you will see none there.

16. And now link your program for that type tlink <program_name> and hit enter. And now execute program by typing <program_name> only.
17. The program will start executing. To stop execution type exit and hit enter.

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

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

via

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s