ALP Programming 8086 using TASM in ubuntu

Installing Turbo Assembler(TASM) in ubuntu 

To do Assembly Language programming we need a assembler. One of them is Turbo Assembler (TASM). For performing Assembly language programming in Linux with TASM we need to do the following 

Step 1 : Update the packages and dependencies


Open the terminal in Linux (Ctrl + Alt + T ) and run the following commands. (These commands are not compulsory. If they not run, sometimes that causes installation problem). 

  • sudo apt-get update 
  • sudo apt-get install –f 

Step 2 : Install DOSBOX 


DOSBox emulates an Intel x86 PC, complete with sound, graphics, mouse, joystick, modem, etc., necessary for running Assembly language programs. 

To Install DOSBox run the following command in the Terminal 

  • sudo apt-get install dosbox 

Step 3 : Download the TASM to Linux 


Download the packages for TASM by linking on the below link, that automatically download a Zip file.


Step 4 : Extract the file and place it 


After downloading the file, create a directory for tasm in your home directory and extract files into that directory. 


Step 5 : Running a ALP Program


create a ALP program and save with extension .asm. The program must be save in the TASM directory.  

Eg: sum.asm  

Step 6 : Open DOXBox and mounding virtual C Drive 


To open DOXBox type dosbox in terminal and press Enter. To mount the virtual C Drive type the following command in DOXBox  

  • mount c /home/<username> 

Eg : mount c /home/ssmpoly  

Step 7 : Navigate to TASM directory 


 Using the cd command in Linux navigate to the TASM directory in DOXBox.

Step 8 : Run the program 


For running the program we need to do the following

  • tasm filename.asm 
  • tlink filename  
  • filename.exe 


Note : In the first command shows error and warning of the program. We can only perform second command after fixing error (if any). The last command actually runs the program.  


Comments

  1. Excellent Blog, I like your blog and It is very informative. Thank you

    English Speaking Course online
    Online Spoken English Classes

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Awesome..I read this post so nice and very informative information...thanks for sharing
    Web Services With SoapUI Testing Online Training

    ReplyDelete
  4. This post is so interactive and informative.keep update more information...
    dot net training in Velachery
    Dot net training in Chennai

    ReplyDelete
  5. Nice post thanks for sharing with us keep sharing
    chennai gold rate today

    ReplyDelete
  6. A strong academic foundation is often built during the higher classes, where students are guided to develop not only knowledge but also life skills. At this stage, schools focus on nurturing critical thinking, creativity, and discipline, ensuring learners are prepared for future academic and professional challenges. The environment is designed to encourage curiosity and holistic growth.

    For parents seeking a trusted institution that emphasizes both academic excellence and character development, choosing the right senior secondary school in Pondicherry becomes essential. Such schools provide well-structured programs, modern facilities, and supportive mentorship that help students achieve success in every sphere of life.

    ReplyDelete
  7. Choosing the right school for young children is crucial for their early development. Parents often seek institutions that provide a nurturing environment, focusing on both educational and social growth. Early childhood education plays an important role in laying a strong foundation for future academic success.

    A pre primary school in Pondicherry offers a balanced curriculum that encourages curiosity and creativity. With dedicated teachers and an interactive learning atmosphere, the school ensures that children are well-prepared for the next stages of their academic journey. It’s an ideal setting for fostering a love of learning at an early age.

    ReplyDelete

Post a Comment

Popular posts from this blog

HOW TO CONNECT A JAVA APPLICATION WITH MYSQL DATABASE

HOW TO INSTALL D-LINK DWP-157 NET SETTER IN WINDOWS 8.1