1 / 11

Assembly Language Lecture 0: Introduction

Assembly Language Lecture 0: Introduction. Outline. What is Assembly Language? Why learn Assembly Language? Grade Text Book. What is Assembly Language?. Basic Microcomputer Design Instruction Execution Cycle Machine Language Assembly Language High-Level Language.

rudolph
Télécharger la présentation

Assembly Language Lecture 0: Introduction

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Assembly LanguageLecture 0: Introduction

  2. Outline • What is Assembly Language? • Why learn Assembly Language? • Grade • Text Book

  3. What is Assembly Language? • Basic Microcomputer Design • Instruction Execution Cycle • Machine Language • Assembly Language • High-Level Language

  4. Basic Microcomputer Design • clock synchronizes CPU operations • control unit (CU) coordinates sequence of execution steps • ALU performs arithmetic and bitwise processing

  5. Instruction Execution Cycle • Fetch • Decode • Fetch operands • Execute • Store output

  6. Machine Language • A100000000 move the value at memory address 00000000 to eax • 83C004  eax=eax+04 • BB00000003 move 00000003 to ebx • F7EB  eax=ebx*eax • A300000004 move the value at eax to memory address 00000004 to eax

  7. Assembly Language • mov eax, Y // Y’s memory address: 00000000 • add eax, 4 • mov ebx, 3 • imul ebx • mov X,eax // X’s memory address: 00000004

  8. High-Level Language • X = (Y + 4) * 3;

  9. Why learn Assembly Language?

  10. Grade • Midterm: 30% • Final: 30% • Program Assignment: 40%

  11. Text Book • k.R. Irvine, "Assembly Language for Intel-Based Computers", 4th Ed., Prentice Hall, 2003. • L. Beck, "System Software“, 3rd Ed., Addison Wesley Longman, 1997.

More Related