Saturday 16 March 2013

Installing Turbo Assembler (TASM), Turbo Debugger (TD) on Ubuntu

Step 1
First we will install an windows emulator called dosbox.
sudo apt-get install dosbox

Step2

Download the packages for Turbo Assembler(tasm) Turbo Debugger(td)Create a directory for tasm in your home directory and extract files into that directory.If you are unable to extract type this in your terminal and try again
sudo apt-get install unrar

Step3

download this sample .asm file. Place the file in the tasm directory.

NOTE:  You can use your own asm file instead

Step4

Open dosbox( generally found in games sublist ). Now you have to mount the virtual c drive.
mount c /home/<username> eg: /home/alse

Step5

Now go to your TASM directory



Now test the test3.asm which you downloaded






18 comments:

  1. step 3 download part is empty I couldnt find the asm file

    ReplyDelete
    Replies
    1. Thats just an example asm file. You can try with your own assembly code or try getting some sample asm file from internet

      Delete

  2. yipeeeeeee!!! finally got my output...
    to get the .asm file open the text document in word (not in note pad) type your program and do save as.. with an .asm extention and (dont forget to tick "save in this format by default") the .asm file is created ,,,now cary on with your funtios like tasm,tlink,and debug

    ReplyDelete
  3. thank you very much !
    it's the only way worked with me ! :)

    ReplyDelete
  4. thank you man, you rock!

    ReplyDelete
  5. where are we supposed to save the .asm file?

    ReplyDelete
    Replies
    1. You can place it anywhere you want. You just have to give the address to that file appropriately

      Delete
  6. wher is td.exe?

    ReplyDelete
    Replies
    1. In the turbo debugger folder

      Delete
    2. im not able to find it pls help....shouldnt it be inside the tasm folder??

      Delete
    3. First Download Turbo debugger from http://www.mediafire.com/?rykzjzmmiek
      Extract it wherever you want. Td.exe is there inside that folder

      Delete
  7. help me please...
    i can't run my asm file.
    while running it reports error message as can't locate file

    ReplyDelete
    Replies
    1. Make sure that you are giving proper path to the asm file

      Delete
  8. Thanks very much ..... this helped to study for my examination 100 likes (y) ....

    ReplyDelete
  9. are we supposed to mount everytime we run dosbox?

    ReplyDelete