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
Basic Microcomputer Design clock synchronizes CPU operations control unit (CU) coordinates sequence of execution steps ALU performs arithmetic and bitwise processing
Instruction Execution Cycle Fetch Decode Fetch operands Execute Store output
Machine Language A move the value at memory address to eax 83C004 eax=eax+04 BB move to ebx F7EB eax=ebx*eax A move the value at eax to memory address to eax
Assembly Language mov eax, Y // Y’s memory address: add eax, 4 mov ebx, 3 imul ebx mov X,eax // X’s memory address:
High-Level Language X = (Y + 4) * 3;
Why learn Assembly Language?
Grade Midterm: 30% Final: 30% Program Assignment: 40%
Text Book k.R. Irvine, "Assembly Language for Intel- Based Computers", 4th Ed., Prentice Hall, L. Beck, "System Software“, 3rd Ed., Addison Wesley Longman, 1997.