Skip to main content

Posts

Showing posts with the label assembly language

use of compilers and interpreters as Language translators

Language is for communication. In order to communicate with 2 person, we need a common language. If no such language exists, we need a translator to perform the communication. In case of computers, it can understand only electric pulses(Digital Signals). We will represent the signals using binary number system(1/0 for low/ high). But writing a program in binary is very difficult (technically, not feasible). So for ease of use we can use some words to group common operations and these mnemonic language is called as assembly language. Still, writing big programs are very difficult in assembly language. And the programs written in one machine may not work in other machines. So a situation arise to create a more generic, platform independent, easy to use, simple to debug language, and a program written in this language should be easy maintainable. A translator program for a computer accepts a program written in a language, which is not understandable by the computer and translate to th