Principles of Computers 14th Lecture

Slides:



Advertisements
Similar presentations
Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU
Advertisements

Introduction to Microprocessors and Microcomputers.
Computer Organization and Assembly Languages Yung-Yu Chuang
Princess Sumaya Univ. Computer Engineering Dept. د. بســام كحـالــه Dr. Bassam Kahhaleh.
CSC 221 Computer Organization and Assembly Language
The Evolution of RISC A Three Party Rivalry By Jenny Mitchell CS147 Fall 2003 Dr. Lee.
Princess Sumaya University
Pentium 4 and IA-32 ISA ELEC 5200/6200 Computer Architecture and Design, Fall 2006 Lectured by Dr. V. Agrawal Lectured by Dr. V. Agrawal Kyungseok Kim.
A Brief History of Microprocessors Module M13.1 Sections 1.1, 9.1.
IA-32 Architecture Computer Organization &
IA-32 Processor Architecture
1 Hardware and Software Architecture Chapter 2 n The Intel Processor Architecture n History of PC Memory Usage (Real Mode)
CS2422 Assembly Language & System Programming November 28, 2006.
CE6105 Linux 作業系統 Linux Operating System 許 富 皓. Chapter 2 Memory Addressing.
IA-32 Architecture COE 205 Computer Organization and Assembly Language Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University.
Assembly Language for Intel-Based Computers Chapter 2: IA-32 Processor Architecture Kip Irvine.
Real instruction set architectures
CS2422 Assembly Language & System Programming September 22, 2005.
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.
Computer Organization and Assembly language
Assembly Language for Intel-Based Computers, 4 th Edition Chapter 2: IA-32 Processor Architecture (c) Pearson Education, All rights reserved. You.
Computer Organization & Assembly Language
GRAP 3175 Computer Applications for Drafting Unit II Computer Hardware.
Lecture 8 Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
The Pentium Processor Chapter 3 S. Dandamudi.
1  2004 Morgan Kaufmann Publishers Instructions: bne $t4,$t5,Label Next instruction is at Label if $t4≠$t5 beq $t4,$t5,Label Next instruction is at Label.
The Intel Microprocessors. Real Mode Memory Addressing Real mode, also called real address mode, is an operating mode of and later x86-compatible.
Processor Development The following slides track three developments in microprocessors since Clock Speed – the speed at which the processor can carry.
CS 6560 Operating System Design Lecture 8: Memory Management.
1 Linux Operating System 許 富 皓. 2 Memory Addressing.
PC hardware and x86 programming Lec 2 Jinyang Li.
A Brief History of Microprocessors Lecture L11.0 Sections 1.1, 9.1.
Oct. 25, 2000Systems Architecture I1 Systems Architecture I (CS ) Lecture 9: Alternative Instruction Sets * Jeremy R. Johnson Wed. Oct. 25, 2000.
Architecture of Microprocessor
BMOW is a Custom CPU Design Like your PC’s Pentium, but much simpler Closest cousin is the MOS 6502 used in the Apple II, C-64, and Atari VCS =
Evolução dos Microprocessadores Afonso Ferreira Miguel.
CHARLES UNIVERSITY IN PRAGUE faculty of mathematics and physics Principles of Computers 11 th Lecture Pavel Ježek, Ph.D.
The Evolution of the Intel 80x86 Architecture Chad Derrenbacker Chris Garvey Manpreet Hundal Tom Opfer CS 350 December 9, 1998.
CHARLES UNIVERSITY IN PRAGUE faculty of mathematics and physics Principles of Computers 12 th Lecture Pavel Ježek, Ph.D.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
16 bit vs. 32 bit programming Course: BSCS-471 Instructor: Dr. Rabia Riaz.
1 x86 Programming Model Microprocessor Computer Architectures Lab Components of any Computer System Control – logic that controls fetching/execution of.
Lecture 2. General-Purpose Computer Systems Prof. Taeweon Suh Computer Science Education Korea University ECM586 Special Topics in Embedded Systems.
8.1 Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Example: The Intel 32 and 64-bit Architectures Dominant industry chips.
Chapter Overview General Concepts IA-32 Processor Architecture
Differences of 8086,80386,i7.
Lecture on Real Mode Memory Addressing
ECE232: Hardware Organization and Design
An Introduction to 8086 Microprocessor.
Microprocessor and Assembly Language
Lecture on Microcomputer
University of Gujrat Department of Computer Science
Principles of Computers 18th Lecture
Principles of Computers 16th Lecture
عمارة الحاسب.
Pentium Microprocessor
הכרת המחשב האישי PC - Personal Computer
Intel Microprocessor.
CS170 Computer Organization and Architecture I
Lecture 2 Microprocessor Overview
Today’s agenda Hardware architecture and runtime system
CS-401 Assembly Language Programming
CS334: MIPS language _Mars simulator Lab 2_1
Memory segmentation and addressing
Assembly Language for Intel-Based Computers, 5th Edition
Lecture 3 (Microprocessor)
AKT211 – CAO 05 – x86 Architecture: Intel 8088 (2)
Principles of Computers 16th Lecture
Principles of Computers 15th Lecture
Presentation transcript:

Principles of Computers 14th Lecture Pavel Ježek, Ph.D. pavel.jezek@d3s.mff.cuni.cz

Examples of CPU Architectures CPU name Physical address width 8-bit 6502 MOS 6502 16-bit (64 kB) Apple I (1976) Apple II (1977) Atari 800 (1979)

Examples of CPU Architectures CPU name Current instruction register(s) Physical address width 8-bit 6502 MOS 6502 PC 16-bit (64 kB) PC = program counter Apple I (1976) Apple II (1977) Atari 800 (1979)

Examples of CPU Architectures CPU name Current instruction register(s) Physical address width 8-bit 6502 MOS 6502 PC 16-bit (64 kB) x86-16 x86 Intel 8088 20-bit (1 MB) Intel 8086 Apple I (1976) Apple II (1977) Atari 800 (1979) IBM PC (1981)

Examples of CPU Architectures CPU name Logical address width Current instruction register(s) Physical address width 8-bit 6502 MOS 6502 16-bit PC (64 kB) x86-16 x86 Intel 8088 16 + 16 bit 20-bit (1 MB) Intel 8086 IBM PC (1981)

Examples of CPU Architectures CPU name Logical address width Current instruction register(s) Physical address width 8-bit 6502 MOS 6502 16-bit PC (64 kB) x86-16 x86 Intel 8088 16 + 16 bit 20-bit (1 MB) Intel 8086 IBM PC (1981) logical address (16 bit & 16 bit): Segment:Offset

Examples of CPU Architectures CPU name Logical address width Current instruction register(s) Physical address width 8-bit 6502 MOS 6502 16-bit PC (64 kB) x86-16 x86 Intel 8088 16 + 16 bit 20-bit (1 MB) Intel 8086 IBM PC (1981) logical address (16 bit & 16 bit): Segment:Offset physical address (20 bit): (Segment * 16) + Offset

Examples of CPU Architectures CPU name Logical address width Current instruction register(s) Physical address width 8-bit 6502 MOS 6502 16-bit PC (64 kB) x86-16 x86 Intel 8088 16 + 16 bit 20-bit (1 MB) Intel 8086 IBM PC (1981) logical address (16 bit & 16 bit): Segment:Offset physical address (20 bit): (Segment * 16) + Offset logical address: $AAAA:$0000 physical address: $AAAA * 16 = $AAAA shl 4 = $AAAA0 + $0000 = $AAAA0

Examples of CPU Architectures CPU name Logical address width Current instruction register(s) Physical address width 8-bit 6502 MOS 6502 16-bit PC (64 kB) x86-16 x86 Intel 8088 16 + 16 bit 20-bit (1 MB) Intel 8086 IBM PC (1981) logical address (16 bit & 16 bit): Segment:Offset physical address (20 bit): (Segment * 16) + Offset logical address: $AAAA:$0000 physical address: $AAAA * 16 = $AAAA shl 4 = $AAAA0 + $0000 = $AAAA0 logical address: $A000:$AAA0 physical address: $A000 * 16 = $A000 shl 4 = $A0000 + $AAA0 = $AAAA0

Examples of CPU Architectures CPU name Logical address width Current instruction register(s) Physical address width 8-bit 6502 MOS 6502 16-bit PC (64 kB) x86-16 x86 Intel 8088 16 + 16 bit 20-bit (1 MB) Intel 8086 IBM PC (1981) logical address (16 bit & 16 bit): Segment:Offset physical address (20 bit): (Segment * 16) + Offset logical address: $AAAA:$0000 physical address: $AAAA * 16 = $AAAA shl 4 = $AAAA0 + $0000 = $AAAA0 logical address: $A100:$9AA0 physical address: $A100 * 16 = $A100 shl 4 = $A1000 + $9AA0 = $AAAA0 logical address: $A000:$AAA0 physical address: $A000 * 16 = $A000 shl 4 = $A0000 + $AAA0 = $AAAA0

Examples of CPU Architectures CPU name Logical address width Current instruction register(s) Physical address width 8-bit 6502 MOS 6502 16-bit PC (64 kB) x86-16 x86 Intel 8088 16 + 16 bit 20-bit (1 MB) Intel 8086 IBM PC (1981) logical address (16 bit & 16 bit): Segment:Offset physical address (20 bit): (Segment * 16) + Offset Address space aliasing logical address: $AAAA:$0000 physical address: $AAAA * 16 = $AAAA shl 4 = $AAAA0 + $0000 = $AAAA0 logical address: $A100:$9AA0 physical address: $A100 * 16 = $A100 shl 4 = $A1000 + $9AA0 = $AAAA0 logical address: $A000:$AAA0 physical address: $A000 * 16 = $A000 shl 4 = $A0000 + $AAA0 = $AAAA0

Examples of CPU Architectures CPU name Logical address width Current instruction register(s) Physical address width 8-bit 6502 MOS 6502 16-bit PC (64 kB) PC = program counter x86-16 x86 Intel 8088 16 + 16 bit CS:IP 20-bit (1 MB) CS = code segment IP = instruction pointer Intel 8086 IBM PC (1981) logical address (16 bit & 16 bit): Segment:Offset physical address (20 bit): (Segment * 16) + Offset Address space aliasing logical address: $AAAA:$0000 physical address: $AAAA * 16 = $AAAA shl 4 = $AAAA0 + $0000 = $AAAA0 logical address: $A100:$9AA0 physical address: $A100 * 16 = $A100 shl 4 = $A1000 + $9AA0 = $AAAA0 logical address: $A000:$AAA0 physical address: $A000 * 16 = $A000 shl 4 = $A0000 + $AAA0 = $AAAA0

Examples of CPU Architectures CPU name Logical address width Current instruction register(s) Physical address width 8-bit 6502 MOS 6502 16-bit PC (64 kB) x86-16 x86 Intel 8088 16 + 16 bit CS:IP 20-bit (1 MB) Intel 8086 IBM PC (1981)

Examples of CPU Architectures CPU name Logical address width Current instruction register(s) Physical address width Special mode 8-bit 6502 MOS 6502 16-bit PC (64 kB) x86-16 x86 Intel 8088 16 + 16 bit CS:IP 20-bit (1 MB) Intel 8086 Intel 80286 24-bit (16 MB) protected 16 (+ real) mode

Examples of CPU Architectures CPU name Logical address width Current instruction register(s) Physical address width Special mode 8-bit 6502 MOS 6502 16-bit PC (64 kB) x86-16 x86 Intel 8088 16 + 16 bit CS:IP 20-bit (1 MB) Intel 8086 Intel 80286 24-bit (16 MB) protected 16 (+ real) mode 32-bit IA-32 INTEL32 Intel 80386 EIP (4 GB) protected 32 mode

Examples of CPU Architectures CPU name Logical address width Current instruction register(s) Physical address width Special mode 8-bit 6502 MOS 6502 16-bit PC (64 kB) x86-16 x86 Intel 8088 16 + 16 bit CS:IP 20-bit (1 MB) Intel 8086 Intel 80286 24-bit (16 MB) protected 16 (+ real) mode 32-bit IA-32 INTEL32 Intel 80386 EIP (4 GB) protected 32 mode Intel Pentium Pro 36-bit (64 GB) PAE (Physical Address Extension)

Examples of CPU Architectures CPU name Logical address width Current instruction register(s) Physical address width Special mode 8-bit 6502 MOS 6502 16-bit PC (64 kB) x86-16 x86 Intel 8088 16 + 16 bit CS:IP 20-bit (1 MB) Intel 8086 Intel 80286 24-bit (16 MB) protected 16 (+ real) mode 32-bit IA-32 INTEL32 Intel 80386 EIP (4 GB) protected 32 mode Intel Pentium Pro 36-bit (64 GB) PAE 64-bit x64 x86-64 AMD64 INTEL64 EM64T AMD Opteron (Intel Pentium 4) RIP 40-bit (1 TB) long mode

Examples of CPU Architectures CPU name Logical address width Current instruction register(s) Physical address width Special mode 8-bit 6502 MOS 6502 16-bit PC (64 kB) x86-16 x86 Intel 8088 16 + 16 bit CS:IP 20-bit (1 MB) Intel 8086 Intel 80286 24-bit (16 MB) protected 16 (+ real) mode 32-bit IA-32 INTEL32 Intel 80386 EIP (4 GB) protected 32 mode Intel Pentium Pro 36-bit (64 GB) PAE 64-bit x64 x86-64 AMD64 INTEL64 EM64T AMD Opteron (Intel Pentium 4) RIP 40-bit (1 TB) long mode 2018 current (e.g. Core i7) AMD: 48b → 256 TB Intel: 46b → 64 TB

Examples of CPU Architectures CPU name Logical address width Current instruction register(s) Physical address width Special mode 8-bit 6502 MOS 6502 16-bit PC (64 kB) x86-16 x86 Intel 8088 16 + 16 bit CS:IP 20-bit (1 MB) Intel 8086 Intel 80286 24-bit (16 MB) protected 16 (+ real) mode 32-bit IA-32 INTEL32 Intel 80386 EIP (4 GB) protected 32 mode Intel Pentium Pro 36-bit (64 GB) PAE 64-bit x64 x86-64 AMD64 INTEL64 EM64T AMD Opteron (Intel Pentium 4) RIP 40-bit (1 TB) long mode 2018 current (e.g. Core i7) AMD: 48b → 256 TB Intel: 46b → 64 TB 32-bit ARM 64-bit ARM 32b MIPS MIPS64 PowerPC (PPC) 32b Motorola 68000 (68k)

Examples of CPU Architectures CPU name Logical address width Current instruction register(s) Physical address width Special mode 8-bit 6502 MOS 6502 16-bit PC (64 kB) x86-16 x86 Intel 8088 16 + 16 bit CS:IP 20-bit (1 MB) Intel 8086 Intel 80286 24-bit (16 MB) protected 16 (+ real) mode 32-bit IA-32 INTEL32 Intel 80386 EIP (4 GB) protected 32 mode Intel Pentium Pro 36-bit (64 GB) PAE 64-bit x64 x86-64 AMD64 INTEL64 EM64T AMD Opteron (Intel Pentium 4) RIP 40-bit (1 TB) long mode 2018 current (e.g. Core i7) AMD: 48b → 256 TB Intel: 46b → 64 TB 32-bit ARM 64-bit ARM 32b MIPS MIPS64 PowerPC (PPC) 32b Motorola 68000 (68k)