Applications of Assembly Language Programming

Assembly Language Programming have lot more applications here are some :

    1. Used to design Real-time Systems
    2. Used to design Embedded Systems
    3. Used in Writing OS
    4. Used in Writing FrimWare
    5. Used to develop compilers and interpreters, etc.

    Assembly Language Programming for Beginners: 8-bit Addition

    We will learn how to add two 8-bit numbers using Assembly Language programming. We are going to use the 8051 microcontroller instruction set to write the program.

    Similar Reads

    Features of MC-8051

    ...

    Program for 8-bit Addition

    ;program for 8-bit addition in assembly language programmingorg 0000 mov a,#5 mov b,#5 add a,b mov 50h,a mov r0,50h end...

    Program Description

    ORG 0000H means it set the statement at memory address 0000H. mov a,#5 using immediate Addressing mode we are transferring hexadecimal β€˜5’ to accumulator. mov b,#5 Same as above we are transferring hexadecimal 5 to b. add a,b here add opcode will adds the data of a and b mov 50h,a this line uses to store the output to the memory address 50h from accumulator. mov r0,50h this line uses to store the output to the register from memory 50h. end This β€˜end’ opcode to stops the program To Write comments in Assembly language we use a β€œ;β€œ....

    Flowchart of program

    ...

    Steps to use Keil uVision Software

    After Installing the Keil software follow the below steps to perform the 8-bit Addition1. Open the software and click on the Project option which is settled at the top of the window, Then it will shows a popup like this below:...

    Applications of Assembly Language Programming

    Assembly Language Programming have lot more applications here are some :...

    Advantages and Disadvantages of using Assembly Language in 8051

    There are some list of Advantages and Disadvantages of using assembly language in 8051 given below :...

    Conclusion

    In this article, we discussed the addition of two 8-bit numbers using assembly language programming. We presented the assembly language code for adding two 8-bit numbers, along with explanation and we gave an overview on how to use Keil uVision software. Finally, we discussed the applications, advantages and disadvantages of using assembly language....

    FAQs on Assembly language programming for beginners: 8-bit Addition

    Q1. What is the 8051 MC instruction set?...