
Since, both machine and assembly language require you to have a working knowledge of low-level details of the computer's hardware, they are referred to as the low-level languages. Given the complex nature (illustrated in 1-3), it takes lot of time to write programs in assembly language.Īpart from the readability all of these shortcomings also exists in the machine language.Programs written for one CPU, may not work on other. To use assembly language to the fullest one needs to have a through understanding of CPU architecture and instruction set.Even trivial programs require several instructions. Writing large scale program in assembly language is quite difficult.Here are some of the shortcomings of the assembly language: But there was still room for the improvement. In comparison to the machine code, the programs written in assembly language was easier to read, modify and debug. After every modification you will have to pass the program through the assembler again to generate the new machine code.Īssembly language made the life of programmer somewhat easier. The machine language or machine code generated by the assembler can then be executed by the CPU. An assembler is a program whose job is to translate a program written in assembly language to the machine language. This is all fine and dandy, but the CPU doesn't understand the assembly language, it is still stuck to the good old pattern of binary numbers! This is where the assembler comes in to the play. Even people with no background in Computer science can intuitively understand what this instruction does.

In contrast to the machine language, this was quite an improvement. For example, instruction to add two numbers in binary would look something like this: Machine language consists of strings of 0s and 1s. Machine language refers to the native language of the computer, that is, the CPU.

Things start off with the machine language. Here are some of the cool things you can do with Python Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career Python suits you best. Python is a general-purpose programming language created by Guido Van Rossum. Learn Data Science by completing interactive coding challenges and watching videos by expert instructors. (Sponsors) Get started learning Python with DataCamp's
