Assembly Language Lecture 0: Introduction. Outline What is Assembly Language? Why learn Assembly Language? Grade Text Book.

Slides:



Advertisements
Similar presentations
Memory. Memory.
Advertisements

Machine cycle.
Microprocessor.  The CPU of Microcomputer is called microprocessor.  It is a CPU on a single chip (microchip).  It is called brain or heart of the.
Welcome Class: IX-B.Std Subject: Computer Studies Conducted by Rashedul Islam Lecturer in Computer Science.
CS2422 Assembly Language & System Programming September 19, 2006.
CSE115: Introduction to Computer Science I
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
Computer Systems. Computer System Components Computer Networks.
Midterm Wednesday Chapter 1-3: Number /character representation and conversion Number arithmetic Combinational logic elements and design (DeMorgan’s Law)
Stored Program Concept: The Hardware View
Assembly Language for Intel-Based Computers Chapter 2: IA-32 Processor Architecture Kip Irvine.
1 Sec (2.3) Program Execution. 2 In the CPU we have CU and ALU, in CU there are two special purpose registers: 1. Instruction Register 2. Program Counter.
CS1104 – Computer Organization PART 2: Computer Architecture Lecture 1 Introduction.
Lecture 13 - Introduction to the Central Processing Unit (CPU)
KEY COMPONENTS OF A COMPUTER SYSTEM ANDREW LOLAVAR.
CPU Fetch/Execute Cycle
Some material taken from Assembly Language for x86 Processors by Kip Irvine © Pearson Education, 2010 Slides revised 2/2/2014 by Patrick Kelley.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Lecture 8 Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
Week1 Architecture - Lecture outline & Assignments Dr. John Abraham UTPA.
Course Introduction: Programming Language. Course info Lecturer –Prof. Heejune Ahn (Mirae Hall 423) Course type –2+2(2h lecture, 2h practice) Textbook.
Fall 2012 Chapter 2: x86 Processor Architecture. Irvine, Kip R. Assembly Language for x86 Processors 6/e, Chapter Overview General Concepts IA-32.
Assembly Language A Brief Introduction. Unit Learning Goals CPU architecture. Basic Assembler Commands High level Programming  Assembler  Machine Language.
The Central Processing Unit (CPU) and the Machine Cycle.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
COMPILERS CLASS 22/7,23/7. Introduction Compiler: A Compiler is a program that can read a program in one language (Source) and translate it into an equivalent.
The von Neumann Model – Chapter 4 COMP 2620 Dr. James Money COMP
Sahar Mosleh California State University San MarcosPage 1 Assembly language and Digital Circuit By Sahar Mosleh California State University San Marcos.
Computer Organization and Assembly Languages Yung-Yu Chuang 2005/09/29
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
RISC / CISC Architecture by Derek Ng. Overview CISC Architecture RISC Architecture  Pipelining RISC vs CISC.
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
Central Processing Unit Decode Cycle. Central Processing Unit Current Instruction Register (CIR) I1 The fetch cycle has transferred an instruction from.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Assembly Language for Intel-Based Computers, 4 th Edition Chapter 2: IA-32 Processor Architecture (c) Pearson Education, All rights reserved. You.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
Lec 4-2 Five operations of the machine cycle Fetch- fetch the next program instruction from memory. (PC+1); instruction to IR Decode- decode the instruction.
Microprocessors CSE- 341 Dr. Jia Uddin Assistant Professor, CSE, BRAC University.
1 What we want: execute High Level Language (HLL) programs What we have: computer hardware (a glorified calculator)
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Chapter Overview General Concepts IA-32 Processor Architecture
x86 Processor Architecture
Lecture 13 - Introduction to the Central Processing Unit (CPU)
Computer Design & Organization
Lecture on Microcomputer
Assembly Language for Intel-Based Computers, 5th Edition
Computer Architecture
Data Representation – Instructions
The fetch-execute cycle
Figure 8.1 Architecture of a Simple Computer System.
Text Book Computer Organization and Architecture: Designing for Performance, 7th Ed., 2006, William Stallings, Prentice-Hall International, Inc.
Computer Architecture
Born to be Programmer TeguhSutanto, M.Kom.
MARIE: An Introduction to a Simple Computer
Chapter 4: Representing instructions
Program Execution.
The Von Neumann Machine
Computer Organization and Assembly Languages Yung-Yu Chuang 2005/09/29
A Top-Level View Of Computer Function And Interconnection
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Instruction execution and ALU
Computer Architecture Assembly Language
Computer Architecture
Week1 Architecture - Lecture outline & Assignments
Sec (2.3) Program Execution.
Little Man Computer.
Presentation transcript:

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.