types of computer/programming languages machine language symbolic languages there are two types of...
Post on 23-Dec-2015
212 Views
Preview:
TRANSCRIPT
Types of Computer/Programming Languages
• Machine Language• Symbolic LanguagesThere Are Two Types Of Symbolic Languages• Low level Language» Low level language is near to machine language. Assembly
Language are example of Low level Language.
• High Level Language» High level language is near to human languages that language
mostly English word. C, C++ , Java, Cobol, PHP , C# , Visual Basic and have many other languages.
Types of Translator• Interpreter Computer language processor that translates a program line-by-line (statement-by-statement)
•CompilerA computer program that translates an entire set of instructions written in a higher-level symbolic language into machine language
•AssemblerAn assembler is a program that takes basic computer instructions and converts them into a pattern of bits that the computer's processor can use to perform its
Prog.-(1)* Write a program for Display a character on the screen
Algorithm steps• Store 2 to ah • Store character to dl• Call dos routine/interrupt• End program
START
AH=2
DL,’A’
OUTPUT A
End
Example Program MOV AH,2 MOV DL,41 INT 21 INT 20
Sample ProgramMOV AH,2MOV DL,41INT 21
MOV AH,2MOV DL,0AINT 21
MOV AH,2MOV DL,0DINT 21
MOV AH,2MOV DL,42INT 21INT 20
top related