Computer Architecture CST 250

Slides:



Advertisements
Similar presentations
Register In computer architecture, a processor register is a small amount of storage available on the CPU whose contents can be accessed more quickly than.
Advertisements

Registers of the 8086/ /2002 JNM.
Computer Architecture and Operating Systems CS 3230 :Assembly Section Lecture 2 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
Introduction to 8086 Microprocessor
CEN 226: Computer Organization & Assembly Language :CSC 225 (Lec#3) By Dr. Syed Noman.
Lect 3: Instruction Set and Addressing Modes. 386 Instruction Set (3.4) –Basic Instruction Set : 8086/8088 instruction set –Extended Instruction Set :
Azir ALIU 1 What is an assembly language?. Azir ALIU 2 Inside the CPU.
Princess Sumaya University
© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Chapter 2 The Microprocessor and its Architecture.
1 ICS 51 Introductory Computer Organization Fall 2006 updated: Oct. 2, 2006.
Assembly Language Advantages 1. It reveals the secret of your computer’s hardware and software. 2. Speed. 3. Some special applications and occasions. Disadvantages.
Assembly Language for Intel-Based Computers Chapter 2: IA-32 Processor Architecture Kip Irvine.
ICS312 Set 3 Pentium Registers. Intel 8086 Family of Microprocessors All of the Intel chips from the 8086 to the latest pentium, have similar architectures.
© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Chapter 2 The Microprocessor and its Architecture.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
The 8086 Microprocessor The 8086, announced in 1978, was the first 16-bit microprocessor introduced by Intel Corporation 8086 is 16-bit MPU. Externally.
Lect 4: Instruction Set and Addressing Modes. 386 Instruction Set (3.4)  Basic Instruction Set : 8086/8088 instruction set  Extended Instruction Set.
Monday, October 4 Assignment(s) due: Assignment #5: COMPLEMENT ARITHMETIC Assignment #6: DEBUG EXERCISES Quiz(zes) due:Quiz #5: Base Arithmetic Quiz #6.
CEG 320/520: Computer Organization and Assembly Language ProgrammingIntel Assembly 1 Intel IA-32 vs Motorola
An Introduction to 8086 Microprocessor.
1 Fundamental of Computer Suthida Chaichomchuen : SCC
Types of Registers (8086 Microprocessor Based)
The x86 Architecture Lecture 15 Fri, Mar 4, 2005.
CET 3510 Microcomputer Systems Tech. Lecture 2 Professor: Dr. José M. Reyes Álamo.
(-133)*33+44* *33+44*14 Input device memory calculator Output device controller Control bus data bus memory.
Chapter 2 Parts of a Computer System. 2.1 PC Hardware: Memory.
Computers organization & Assembly Language Chapter 1 THE 80x86 MICROPROCESSOR.
X86 Assembly Language We will be using the nasm assembler (other assemblers: MASM, as, gas)
INTRODUCTION TO INTEL X-86 FAMILY
University of Sargodha, Lahore Campus Prepared by Ali Saeed.
Assembly Language Data Movement Instructions. MOV Instruction Move source operand to destination mov destination, source The source and destination are.
1 x86 Programming Model Microprocessor Computer Architectures Lab Components of any Computer System Control – logic that controls fetching/execution of.
Week 6 Dr. Muhammad Ayaz Intro. to Assembly Language.
Computer Organization & Assembly Language University of Sargodha, Lahore Campus Prepared by Ali Saeed.
BITS Pilani Pilani Campus Pawan Sharma Lecture / ES C263 INSTR/CS/EEE F241 Microprocessor Programming and Interfacing.
Microprocessors CSE- 341 Dr. Jia Uddin Assistant Professor, CSE, BRAC University Dr. Jia Uddin, CSE, BRAC University.
Intel MP Organization. Registers - storage locations found inside the processor for temporary storage of data 1- Data Registers (16-bit) AX, BX, CX, DX.
Microprocessors CSE- 341 Dr. Jia Uddin Assistant Professor, CSE, BRAC University Dr. Jia Uddin, CSE, BRAC University.
ΜComputer Structure μProcessor Memory Bus System I/O Ports.
Chapter 12 Processor Structure and Function. Central Processing Unit CPU architecture, Register organization, Instruction formats and addressing modes(Intel.
Chapter Overview General Concepts IA-32 Processor Architecture
Homework Reading Lab with your assigned section starts next week
UNIT Architecture M.Brindha AP/EIE
Introduction to 8086 Microprocessor
8086 Microprocessor.
ADDRESSING MODES.
Computer skills CPU Jakub Yaghob.
Intel 8086 MICROPROCESSOR Architecture.
Basic Microprocessor Architecture
Assembly IA-32.
ADDRESSING MODES.
University of Gujrat Department of Computer Science
Intel 8088 (8086) Microprocessor Structure
Homework Reading Continue work on mp1
Basic of Computer Organization
Symbolic Instruction and Addressing
Introduction to Assembly Language
Intel 8088 (8086) Microprocessor Structure
8086 Registers Module M14.2 Sections 9.2, 10.1.
CS-401 Computer Architecture & Assembly Language Programming
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Symbolic Instruction and Addressing
CS 301 Fall 2002 Computer Organization
The Microprocessor & Its Architecture
Symbolic Instruction and Addressing
Assembly Language (CSW 353)
Unit-I 80386DX Architecture
Chapter 6 –Symbolic Instruction and Addressing
CSC 497/583 Advanced Topics in Computer Security
Chapter 8: Instruction Set 8086 CPU Architecture
Presentation transcript:

Computer Architecture CST 250 Microprocessor Registers Prepared by:Omar Hirzallah

Contents General Purpose Registers Index Registers Segment Registers Special Registers Programming Languages

The Registers in CPU C.P.U Registers Processor uses a very high speed small in size memory device during data processing which are called registers C.P.U Registers General Purpose Registers Index Registers Segment Registers Special Registers Accumulator Base Count Data Stack Pointer Base Pointer Source Index Destination Index Code Segment Data Segment Stack Segment Extra Segment Instructions Pointer Flags Register

General Purpose Registers: Accumulator (AH, AL, AX, EAX): It accumulates the results from mathematical calculations and can be used for data movement. AH 8 bits, AL 8 bits, AX 16 bits, EAX 32 bits Base (BH,BL,BX, EBX): It points to memory locations and it can be used for data movement and arithmetic. (Points to data in the Data Segment) BH 8 bits, BL 8 bits, BX 16 bits, EBX 32 bits Count (CH, CL, CX, ECX): This counter is used typically for loops. It can be automatically incremented or decremented. CH 8 bits, CL 8 bits, CX 16 bits, ECX 32 bits Data (DH,DL, DX, EDX): It is used in calculations. It is also used significantly for multiply / divide operation. DH 8 bits, DL 8 bits, DX 16 bits, EDX 32 bits

C.P.U Registers

INDEX REGISTERS: Stack Pointer (SP, ESP): It points to the location of the stack (points to the end of the stack). SP 16 bits, ESP 32 bits Base Pointer (BP, EBP): It is also used to point inside the stack. It is used to access the sub routine data. BP 16 bits, EBP 32 bits Source Index (SI, ESI): It is used for string operations (points to the source). SI 16 bits, ESI 32 bits Destination Index Register (DI, EDI): It is used for string operations (points to the destination). DI 16 bits, EDI 32 bits

SEGMENT REGISTERS (ALL 16 bits) Code Segment (CS): It points to the memory area where program's instructions are stored. Data Segment (DS): It points to the memory area where program's data is stored. Stack Segment (SS): It points to the memory area where stack is stored. Extra Segment (ES): It can be used to point to additional data segments, if necessary.

SPECIAL REGISTERS: SPECIAL REGISTERS: Instruction Pointer (IP, EIP): It points to the next instruction that the processor is going to execute. (also called program counter) Flags Register (Flag, Eflag): It contains individual bits set by different operations. CF  Carry OF  Overflow ZF  Zero SF  Sign

Programming Languages: There are basically two types of programming languages: High Level Languages (Pascal, Basic, Cobol, C, Fortran etc.) Low Level Languages (Assembly) Each processor has a set of assembly instructions called “Instruction Set”. CISC stands for Complex Instructions Set Computers RISC stands for Reduced Instructions Set Computers Assembly Language Assembler Machine Language