What is Assembly Language?

4:00 PM 13 Comments

Assembly language is the most basic programming language available for any processor. With assembly language, a programmer works only with operations that are implemented directly on the physical CPU. 

Assembly languages generally lack high-level conveniences such as variables and functions, and they are not portable between various families of processors. It has the same structures and set of commands as machine language, but it allows a programmer to use names instead of numbers. This language is still useful for programmers when speed is necessary or when they need to carry out an operation that is not possible in high-level languages.

click here for more info.

13 comments:

  1. For example, I am new in programming, how can I know if I uses assembly language and not high level languages?

    ReplyDelete
    Replies
    1. hi Daisy! if you're new in programming, I recommend that you use high-level languages since it is easier to understand. Assembly language, since its operations are implemented directly to the physical CPU, it requires time to learn so it is commonly use by people who are already familiar with programming. :) I hope this helps!

      Delete
  2. What are the differences between Machine and Assembly Language?

    ReplyDelete
    Replies
    1. Hi Aldrin! Assembly language is a human-readable version of machine language. Machine Language is a language that machine or computer can understand. Every key press return 1/0 binary. All the instructions are given under this binary system. While Assembly language is a next level machine language, it uses some symbol codes along with binary codes. When we compile our own program, the compiler convert our language of the program to low level language, so that machine can understand our instructions.

      Hope this helps! :)

      Delete
    2. Machine language is the encoded language of the processor, represented as a series of numbers in memory while Assembly languages are used to create a program on computer and then assembler is user to convert the program into binary code of machine level code.

      Delete
  3. What are the other advantages of using assembly language?

    ReplyDelete
    Replies
    1. hi Alyssa! Since assembly language is a human readable version of the machine language, one of its advantages is that it is easier to understand and saves a lot of time and effort for the programmer. Since it is easy to understand, it is now easier to correct errors and modify program instructions. Hope this helps! :)

      Delete
    2. Advantages Assembly Language:
      1.The symbolic programming of Assembly Language is easier to understand and saves a lot of time and effort of the programmer.
      2.It is easier to correct errors and modify program instructions.
      3.Assembly Language has the same efficiency of execution as the machine level language. Because this is one-to-one translator between assembly language program and its corresponding machine language program.

      Delete
  4. Where and when we can use this assembly language in programming?

    ReplyDelete
    Replies
    1. Hi Jolina! If you're new in programming, I suggest that you start making your program in assembly language since it is easier to understand. As by definition, it is the human readable version of the machine language. After making your program using assembly language, you'll just need an assembler to convert your code into the language that the machine can understand. Hope this helps!

      Delete
  5. Ma'am is assembly language have disadvantage/s too?

    ReplyDelete
    Replies
    1. Hi Lulu. There's no such thing as a perfect programming language so yes it has its disadvantages too. One of the major disadvantages is that assembly language is machine dependent. A program written for one computer might not run in other computers with different hardware configuration.

      A small change in algorithmic design might completely invalidate all your existing assembly code. So that either you're ready (and able) to rewrite it all, or you're tied to a particular algorithmic design.

      Writing assembly language programs is difficult and time consuming.

      for more information, visit these links:
      http://mpstudy.com/basic-computer-engineering/discuss-about-assembly-language-give-advantages-and-disadvantages-of-assembly-language-over-machine-language/

      http://successnotes4u.blogspot.com/2012/02/assembly-language-its-advantages-and.html

      Delete
  6. hi maam, what is the importance of the assembly language ?

    ReplyDelete