CSE 281 Lecture_01

CSE 281 Lecture_01 - Assembly Language for Intel-Based...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
Assembly Language for Intel-Based Assembly Language for Intel-Based Computers, 5 Computers, 5 th th Edition Edition Chapter 1: Basic Concepts Kip Irvine
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Web site Examples 2 Chapter Overview Chapter Overview Welcome to Assembly Language Virtual Machine Concept Data Representation Boolean Operations
Background image of page 2
Web site Examples 3 Questions to Ask Questions to Ask 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 do I get with this book? What will I learn?
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Web site Examples 4 Welcome to Assembly Language Welcome to Assembly Language (cont) (cont) How does assembly language (AL) relate to machine language? How do C++ and Java relate to AL? Is AL portable? Why learn AL?
Background image of page 4
Web site Examples 5 Assembly Language Applications Assembly Language Applications Some representative types of applications: Business and engineering applications for single platform Hardware device driver Business and engineering application for multiple platforms (see next panel)
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Web site Examples Irvine, Kip R. Assembly Language for Intel-Based Computers 5/e, 2007. 6 Comparing ASM to High-Level Languages Comparing ASM to High-Level Languages
Background image of page 6
Web site Examples 7 What's Next What's Next Welcome to Assembly Language Virtual Machine Concept Data Representation Boolean Operations
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Web site Examples 8 Virtual Machines Virtual Machines Tanenbaum: Virtual machine concept Programming Language analogy: Each computer has a native machine language (language L0) that runs directly on its hardware A more human-friendly language is usually constructed above machine language, called Language L1 Programs written in L1 can run two different ways: Interpretation – L0 program interprets and executes L1 instructions one by one Translation – L1 program is completely translated into an L0 program, which then runs on the computer hardware
Background image of page 8
Web site Examples 9 Translating Languages Translating Languages English: Display the sum of A times B plus C. C++: cout << (A * B + C); Assembly Language: mov eax,A mul B add eax,C call WriteInt Intel Machine Language: A1 00000000 F7 25 00000004 03 05 00000008 E8 00500000
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Web site Examples 10 Specific Machine Levels Specific Machine Levels (descriptions of individual levels follow . . . )
Background image of page 10
Examples 11 High-Level Language High-Level Language Level 5 Application-oriented languages C++, Java, Pascal, Visual Basic . . . Programs compile into assembly language
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 50

CSE 281 Lecture_01 - Assembly Language for Intel-Based...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online