COAL Lec01 Introduction
COAL Lec01 Introduction
COAL Lec01 Introduction
Assembly Language
Course Instructor:
Mehr un Nisa
1
Overview
• Introduction to Computer
Organization
• Welcome to Assembly Language
• Assembly Language
Applications
• Virtual Machine Concepts
2
What do you know
Computer Organization
Assembly Language
3
Computer Organization
4
5
Assembly Language
• Why am I learning Assembly Language?
• What background should I have?
• What is an assembler?
• What hardware/software do I need?
• What types of programs will I create?
• What will I learn?
6
Welcome to Assembly Language
7
Assembly Language Applications
8
Comparing ASM to High-Level Languages
9
Virtual Machine Concept
Virtual Machines
Specific Machine Levels
10
Virtual Machines
Virtual machine concept
Programming Language analogy:
Each computer has a native machine language (language
11
Translating Languages
English: Display the sum of A times B plus C.
12
Specific Machine Levels
13
High-Level Language
Level 4
Application-oriented languages
C++, Java, Pascal, Visual Basic . . .
Programs compile into assembly
language (Level 4)
14
Assembly Language
• Level 3
• Instruction mnemonics that have a one-to-
one correspondence to machine language
• Programs are translated into Instruction
Set Architecture Level - machine
language (Level 2)
15
Instruction Set Architecture (ISA)
Level 2
Also known as conventional
machine language
Executed by Level 1 (Digital Logic)
16
Digital Logic
• Level 1
• CPU, constructed from digital logic gates
• System bus
• Memory
• Implemented using bipolar transistors
17
Levels
HLL
Assembly Code
Object file
Machine code
Hardware
18
Q/A
19