Lecture 1.2.1 (Instruction Set Architectures-Levels of programming Languages)
Lecture 1.2.1 (Instruction Set Architectures-Levels of programming Languages)
Level of Languages
1. Machine Language
Each line of an assembly language program is arranged in three columns called fields.
The fields specify the following information.
The label field may be empty or it may specify a symbolic address.
The instruction field specifies a machine instruction or a pseudo instruction.
The comment field may be empty or it may include a comment.
A symbolic address consists of one, two, or three, but not more than three
alphanumeric characters.
The first character must be a letter; the next two may be letters or numerals. The
symbol can be chosen arbitrarily by the programmer. A symbolic address in the label
field is terminated by a comma so that it will be recognized as a label by the
assembler.
LANGUAGE PROCESSORS/TRANSLATORS
A translator takes a program written in source language as input and converts it into a
program in target language as output.
Types of Processors/Translators
● Compilers
● Interpreters
● Assemblers
Use of Interpreter
Use of Assembler
References
Reference Books:
Reference Website
● https://thebittheories.com/levels-of-programming-languages-b6a38a68c0f2
● https://www.cs.toronto.edu/~gpenn/csc324/lecture2.pdf
● https://www.britannica.com/technology/computer-programming-language
Video References
● https://www.youtube.com/watch?v=RHvioCFOzZo
● https://www.youtube.com/watch?v=BQleAPh1Z3I