Levels of Programming Languages (VIDEO 1)
Levels of Programming Languages (VIDEO 1)
1. Machine Language # ML
• 0 off 2 on ML Binary is like switches
• Consists of indiv instructions that will be executed by the CPU one
at a time
2. Assembly Language AKA Low level Language # LL
• Close to HL and close to ML
• numeric and human words
• Designed for a specific family of processors (different processors
groups/family have diff related ML instrucitons and are assembled
into ML)
– Different assembly language per processor
• Consists of symbolic instrucitons directly related to machine language
instructions and are assembled into machine language
3. High Level Languages # HL
• slower than ML because it takes translating for the machine
to understand
• eg. C C++ Vbasic
• Designed to eliminate the technicalities of a particular computer
• Statements compiled from a HL language typically generate many
low-level instructions
1
Sample Assembly Language Program
MOV AX, 0B800h ; Hexadecimal MOV ES,AX
MOV DI,0 MOV AH,7 MOV AL,41h STOSW INT 20H
• Program that displays the letter ‘A’ on the screen
2
Summary
• Definition of Assembly Language
• Advantages and Disadvantages of Assembly Language
• Sample Assembly Language program