1 بسم الله الرحمن الرحيم لـغـة الـتـجـمـيــع Assembly Language.

Slides:



Advertisements
Similar presentations
1-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL
Advertisements

EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Lecture 01: Introduction to Microcomputer & Embedded Systems.
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
Chapter 01 Introduction Chapter 0 Introduction. Chapter 02 History of Computing - Early Computers Abacus (ancient orient, still in use) Slide rule (17C,
Chapter 1. Introduction This course is all about how computers work But what do we mean by a computer? –Different types: desktop, servers, embedded devices.
Introduction to Microprocessors Number Systems and Conversions No /6/00 Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
1 The development of modern computer systems Early electronic computers Mainframes Time sharing Microcomputers Networked computing.
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
Computer Organization and Assembly language
EC4012PA PIC 18F Introduction 2  Processor  Input Devices  Output Devices  Memory Devices 3.
Microcontroller Systems: Motivation
Embedded Systems. 2 A “short list” of embedded systems And the list goes on and on Anti-lock brakes Auto-focus cameras Automatic teller machines Automatic.
ECE 447: Lecture 1 Microcontroller Concepts. ECE 447: Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device.
INTRODUCTION TO MICROPROCESSORS
Computing Systems Computer abstractions and technology.
Physics 413 Chapter 1 Computer Architecture What is a Digital Computer ? A computer is essentially a fast electronic calculating machine. What is a program.
COMPUTER SYSTEM ARCHITECTURE By Sohaib.  The digital computer is a digital system that performs various computational tasks.  The word digital implies.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
ECE Lecture 1 Microcontroller Concepts. Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device Data.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Evolution. ENIAC - background Electronic Numerical Integrator And Computer Eckert and Mauchly University of Pennsylvania Trajectory tables for.
Computer Organization & Assembly Language © by DR. M. Amer.
Introduction to Microprocessors
12/13/ _01 1 Computer Organization EEC-213 Computer Organization Electrical and Computer Engineering.
MICROOCESSORS AND MICROCONTROLLER:
Computer and Information Sciences College / Computer Science Department CS 206 D Computer Organization and Assembly Language.
What is a Microprocessor ? A microprocessor consists of an ALU to perform arithmetic and logic manipulations, registers, and a control unit Its has some.
Simple ALU How to perform this C language integer operation in the computer C=A+B; ? The arithmetic/logic unit (ALU) of a processor performs integer arithmetic.
Capability of processor determine the capability of the computer system. Therefore, processor is the key element or heart of a computer system. Other.
Computer Architecture
Embedded Systems Introduction. Microprocessor building blocks 1. ALU (Arithmetic Logic Unit): The ALU is a sequential logic circuitry that is intended.
Evolution of the Computer. Zeroth Generation- Mechanical 1.Blaise Pascal –Mechanical calculator only perform Von Leibiniz –Mechanical.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
BITS Pilani Pilani Campus Pawan Sharma ES C263 Microprocessor Programming and Interfacing.
Embedded Systems Overview Prepared by Nisha Sinsinbar Subject: Microcontoller & Interfacing Sub code: EC Department.
Chapter 1: Embedded Computing Embedded System Design.
KAASHIV INFOTECH – A SOFTWARE CUM RESEARCH COMPANY IN ELECTRONICS, ELECTRICAL, CIVIL AND MECHANICAL AREAS
Microprocessors CSE- 341 Dr. Jia Uddin Assistant Professor, CSE, BRAC University.
William Stallings Computer Organization and Architecture 6th Edition
Introduction to Microcontrollers
Microprocessor and Microcontroller Fundamentals
Chapter 1: An Overview of Computers and Programming Languages
Chapter 1 Introduction.
Introduction of microprocessor
INTRODUCTION TO MICROPROCESSORS
Course Overview and The 8051 Architecture
Course Name: Computer Application Topic: Central Processing Unit (CPU)
Introduction to Microprocessors
What is a computer?.
Introduction to Microprocessors
INTRODUCTION TO MICROPROCESSORS
Microcomputer Architecture
INTRODUCTION TO MICROPROCESSORS
EmbedDed Systems – MECT190
Chapter 1: The 8051 Microcontrollers
عمارة الحاسب.
Introduction to Microprocessors and Microcontrollers
Computer Organization
EmbedDed Systems – MECT190
BIC 10503: COMPUTER ARCHITECTURE
Microprocessor & Assembly Language
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Introduction to Embedded Systems
Computer components is a programmable machine that receives input, stores and manipulates data, and provides output in a useful format. Computer The computer.
WJEC GCSE Computer Science
Embedded Systems By : Simran Amaandeep Singh
Chapter 0 Introduction Introduction Chapter 0.
Presentation transcript:

1 بسم الله الرحمن الرحيم لـغـة الـتـجـمـيــع Assembly Language

How a Microprocessor Works? Introduction to Microprocessors 2

 Course Objectives  An Introduction to Embedded Systems  An Introduction to Microprocessors  Evolution of the Microprocessor  Typical Features of 32-bit and 64-bit Microprocessors 3

4  The student should be able to:  Understand the architecture of Intel microprocessors  Learn assembly language and develop assembly programs  Learn I/O interfacing techniques  Understand the function and use of interrupts in microprocessor systems

. 5

6

7

8

9

10

11

12

13

14

15

. Anti-lock brakes Fingerprint identifiers Auto-focus cameras Home security systems Automatic teller machine Medical testing systems Automatic toll systems Modems Automatic transmission MPEG decoders Avionic systems Network cards Battery chargers Network switches/routers Camcorders Pagers Cell phones Photocopiers Cell-phone base stations Printers Cordless phones Scanners Cruise control Stereo systems Digital cameras TV Disk drives VCR Electronic card readers Video game controllers Electronic toys/games Video phones Fax machines Washers and dryers

21  Application-Specific ICs (ASICs):  ICs tailored to meet application needs  Good performance for their intended task(s)  Domain-Specific Processors:  DSPs  Microcontrollers  Microprocessors:  General Purpose Processors

22  Digital systems are designed to store, process, and communicate information in digital form  They are found in a wide range of applications  A computer manipulates information in digital or more precisely, binary form

23  All programs, written using any programming language must be translated into binary prior to execution by a computer  The basic blocks of a computer are the central processing unit (CPU), the memory, and the input/output (I/O)

24

25  Due to advances in semiconductor technology, it is possible to fabricate a CPU [Microprocessor] on a single chip  The central processing unit or CPU is made up of three components: the arithmetic logic unit, the control unit and a set of registers

26  Computer hardware refers to components of a computer such as memory, CPU, transistors, and so on  Computer software, on the other hand, consists of a collection of programs  A translator (Compiler) for converting such a program into binary is necessary

27  Due to advances in semiconductor technology, it is possible to fabricate the CPU in a single chip. The result is the microprocessor  Both Metal Oxide Semiconductor (MOS) and Bipolar technologies were used in the fabrication process

28  The CPU can be placed on a single chip when MOS technology is used. Several chips are required with the bipolar technology  HCMOS (High Speed Complementary MOS) or BICMOS (Combination of Bipolar and HCMOS) technology is normally used these days

29  “Microcontrollers” evolved from single-chip microcomputers  The microcontrollers are typically used for dedicated applications such as automotive systems, home appliances, and home entertainment systems

30  Typical microcontrollers include a microcomputer, timers, and A/D (analog to digital) and D/A (digital to analog) converters - all in a single chip  Examples of typical microcontrollers are Intel 8751 (8-bit) / 8096 (16-bit) and Motorola HC11 (8-bit) / HC16 (16-bit)

31  Bit [Binary Digit]  Bit size [Word] – Byte – Nibble  An Arithmetic-Logic Unit (ALU)  A Microprocessor  A Bus - Address Bus - Data Bus - Control Bus – Bidirectional - Unidirectional

32  An Address  Addressing Mode  The Instruction Set  A Reduced Instruction Set Computer (RISC)  A Complex Instruction Set Computer (CISC)  A Register

33  Read-Only Memory (ROM)  Random-Access Memory (RAM)  Cache Memory  Memory Management Unit ( MMU )  Pipelining  A Superscalar Microprocessor

34  Three design levels can be defined for digital systems: System level, logic level, and device level  Systems level is the type of design in which CPU, memory, and I/O chips are interfaced to build a computer

35  Logic level, on the other hand, is the design technique in which chips containing logic gates such as AND, OR, and NOT are used to design a digital component such as the ALU  Finally, device level utilizes transistors to design logic gates

36  Combinational systems contain no memory (such as binary adders)  Sequential systems require memory to remember the present state in order to go to the next state (such as counters)

37  All computers contain both combinational and sequential circuits  Most computers are regarded as clocked sequential systems. In these computers, all activities pertaining to instruction execution are synchronized with clocks

38  A diode is an electronic switch  It is a two-terminal device

39.

40.

41.

42.

43.

44.

45.

46.

47  The first electronic computer, called ENIAC, was invented in 1946 at the Moore School of Engineering, University of Pennsylvania  ENIAC was designed using vacuum tubes and relays. This computer performed addition, subtraction, and other operations via special wiring rather than programming

48  John Von Neumann, a student at the Moore School, designed the first conceptual architecture of a stored program computer, called the EDVAC  Soon afterward, M. V. Wilkes of Cambridge university implemented the first operational stored memory computer called the EDSAC

49  The Von Neumann architecture was the first computer that allowed storing of instructions and data in the same memory  This resulted in the introduction of other computers such as ILLIAC at the University of Illinois and JOHNIAC at the RAND Corporation

50  With the invention of transistors in the 1950s, the computer industry grew more rapidly  The entry of IBM (International Business Machines) into the computer industry happened in 1953 with the development of a desk calculator called the IBM 701

51  In 1954, IBM announced its first magnetic drum-based computer called the IBM 650  This computer allowed the use of system- oriented programs such as compilers feasible

52  With the advent of integrated circuits, IBM introduced the 360 in 1965 and the 370 in 1970  Other computer manufacturers such as Digital Equipment Corporation (DEC), RCA, NCR, and Honeywell followed IBM

53  DEC introduced its popular real-time computer PDP 11 in the late 1960s. Note that real-time computers are loosely defined as the computers that provide fast responses to process requests  Typical real-time applications include process control such as temperature control and aircraft simulation

54  Intel Corporation is generally acknowledged as the company that introduced the microprocessor successfully into the marketplace  Its first processor, the 4004, was introduced in 1971 and evolved from a development effort while making a calculator chip set

55  Shortly after the 4004 appeared in the commercial marketplace, three other general purpose microprocessors were introduced  These devices were the Rockwell International 4-bit PPS-4, the Intel 8-bit 8008, and the National Semiconductor 16- bit IMP-16

56  The microprocessors introduced between and 1972 were the first-generation systems designed using PMOS technology  In 1973, second-generation microprocessors such as the Motorola 6800 and the Intel 8080 (8-bit microprocessors) were introduced

57  The second-generation microprocessors were designed using the NMOS technology  NMOS microprocessors such as the Intel 8085, the Zilog80, and the Motorola 6800/6809 were introduced based on the second generation microprocessors

58  The third generation HMOS microprocessors, introduced in 1978, is typically represented by the Intel 8086 and the Motorola 68000, which are 16-bit microprocessors

59  In 1980, fourth-generation HCMOS and BICMOS (combination of BIPOLAR and HCMOS) 32-bit microprocessors evolved  Intel introduced the first commercial 32- bit microprocessor, the problematic Intel 432. This processor was eventually discontinued by Intel

60  Since 1985, more 32-bit microprocessors have been introduced  These include Motorola’s MC 68020/68030/ 68040/PowerPC, Intel’s 80386/80486 and the Intel Pentium microprocessors

61  Intel and Motorola introduced RISC (Reduced Instruction Set Computer) microprocessors, namely the Intel and Motorola MC88 100/PowerPC  The purpose of RISC microprocessors is to maximize speed by reducing clock cycles per instruction

62  Pentium III and Pentium 4 (Present speed up to 1.70GHz) are also added to the Pentium family  Intel released a new 64-bit processor called “Merced” (also called “Itanium”) in 2001

63  Motorola’s PowerPC microprocessor is a product of an alliance with IBM and Apple Computer  PowerPC is a RISC microprocessor, and includes both 32-bit and 64-bit microprocessors

64.

65  Suppose that it is necessary to maintain the temperature of the furnace to a desired level to maintain the quality of a product  Temperature is an analog (continuous) signal. It can be measured by a temperature sensing (measuring) device such as a thermocouple

66  Microcomputers only understand binary numbers, each analog mV signal must be converted to a binary number using an analog to digital (A/D) converter chip  The millivolt signal is amplified by a mV/V amplifier to make the signal compatible for A/D conversion

67  A microcomputer can be programmed to solve an equation with the furnace temperature as an input  This equation compares the temperature measured with the desired temperature which can be entered into the microcomputer via the keyboard

68  The output of this equation will provide the appropriate opening and closing of the fuel valve to maintain the appropriate temperature  Since this output is computed by the microcomputer, it is a binary number. This binary output must be converted into an analog current or voltage signal

69  The D/A (digital to analog) converter chip inputs this binary number and converts it into an analog current (I)  This signal is then input into the current/pneumatic (I/P) transducer for opening or closing the fuel input valve by air pressure to adjust the fuel to the furnace

70  The desired temperature of the furnace can thus be achieved  Note that a transducer converts one form of energy (analog electrical current in this case) to another form (air pressure in this example)