Class 1
Class 1
Class 1
Class 1
Chapter Overview
2
Welcome to Assembly Language
3
Questions to Ask
4
Welcome to Assembly Language (cont)
5
Assembly Language Applications
6
Comparing ASM to High-Level Languages
7
What's Next
8
Virtual Machine Concept
• Virtual Machines
• Specific Machine Levels
9
Virtual Machines
10
Translating Languages
11
Specific Machine Levels
12
Level 4 - High-Level Language
• Application-oriented languages
• C++, Java, Pascal, Visual Basic . . .
• Programs compile into assembly language
(Level 4)
13
Level 3 - Assembly Language
14
Level 2 - Instruction Set Architecture (ISA)
(see Book's Page 8 for details)
15
Level 1 - Digital Logic
16
What's Next
17
Data Representation
• Binary Numbers
• Translating between binary and decimal
• Binary Addition
• Integer Storage Sizes
• Hexadecimal Integers
• Translating between decimal and hexadecimal
• Hexadecimal subtraction
• Signed Integers
• Binary subtraction
• Character Storage
18
Binary Numbers
19
Binary Numbers
Every binary
number is a
sum of powers
of 2
20