SlideShare a Scribd company logo
Lecture 1: Introduction to
Microprocessors and Microcomputers
Seungryoul Maeng
Computer Science, KAIST
Fall 2000
Syllabus
• Course Grading:
– 강의 : 60 %
• 중간 시험 : 25%
• 기말 시험 : 25%
• 기타 ( 숙제 , 퀴즈 등 ) : 10%
– 강의 출석 : 특별한 사유 없이 5 번 이상 결석하면
강의점수가 없음
– 실험 : 40%
• Course Texts:
1. The 80386, 80486, and Pentium Processor, Walter A. Triebel,
Prentice Hall.
2. 실험 노트
Syllabus
• 강의 교수
– 맹 승렬 , Room 3438, maeng@cs.kaist.ac.kr
– home page : http://camars.kaist.ac.kr/~maeng
– Office Hours : Mon, Wed. 13:00 - 14:30
• TAs
– 이재원
• Course Description
• 실험
– 2 명이 한조를 이룸
What is a microcomputer system?
• Block diagram of a digital computer
• Block diagram of a microcomputer system
Memory
Input CPU Output
Memory
Input Microprocessor Output
NMOS Inverter
NMOS Transistor(NMOS FET)
SiO2 산화막 ( 약 0.6
micron)
P type silicon
gate oxide( 약 0.05
micron)
polysilicon(Low Pressure
Chemical
Vapor Deposition 으로 얹음 )
AS 이온
주입 Source, drain 영역
형성
n+ n+
NMOS Inverter
n+ n+
산화막 성장
n+ n+
contact 부분 식각후
aluminum 증착 , 패턴 형성
2
λ
Length unit --- λ
(micron)
λ
aluminum
What is a microprocessor?
• Criteria
– number of chips
– data path
– address space
– CPU performance
– Price
• Types of microprocessor
– Application
• Re-programmable microprocessors
• embedded microprocessors and micro-controllers
– Instruction complexity
• CISC
• RISC
Classes of Computers
• What is the difference between main, mini, and micro?
– The capacity and performance of the electronics used to
implement their building blocks and the resulting overall system
capacity and performance.
• CPU performance
Tech Driven
Machine
Organization
Microprocessor Architecture 의 특징
• different from the architectures of large main frames?
Why?
• One or a few VLSI chips
• VLSI environments
– density per chip
• die size ---- yield
• feature size --- 1.0 micron, 0.3 micron
– I/O pad
• chip cost
• power consumption
• propagation delay
The History of Intel’s Microprocessors
• Intel 4004
– 1971, 4-bit
• Intel 8008
– 1972, 8-bit
– Originally designed for Datapoint Corp. as a CRT display
controller
• Intel 8080
– 1974, April - Altair 8800, 1975, MITS( 256 bytes of Mem, $395)
– Apple II -- Steve Jobs and Steve Wozniak 1976, Apple 사 설립
– Bill Gates and a fellow student : BASIC, 1975 --> Microsoft
• Intel 8086/8088
– 1978, 16 bit: 8088, 1979, 8-bit external bus
The History of Intel’s Microprocessors
– IBM PC ; 1981
– 29,000 Trs
• Intel 80286
– 1982, 16-bit architecture
– 24-bit addressing, memory protection and virtual memory
– 16 MB of physical MEM and 1 GB of virtual mem
– 130,000 Trs onto a single chip
– IBM PC/AT in 1984, IBM PS/2 Model 50 and 60
• Intel 80386
– 1985, 32 bits
– 3~5 MIPS (7 MIPS on the 25 MHz chip)
– memory paging and enhanced I/O permission features
– 4GB programming model
The History of Intel’s Microprocessors
• Intel 80486
– 1989 Spring COMDEX show -> 1990 June : actual release
– 1,200,000 Trs
– 386+387+8K data and instruction cache, paging and MMU
• Pentium
– 1993
– 110 MIPS on 66 Mhz Chip
– 16 KB on-chip cache and 64 bit data bus
– superscalar technology (two instructions/clock)
– 3.1 million transistors
The History of Intel’s Microprocessors
• Pentium Pro
– 1995, Superscalar(three-way issue)
– 5.5 million Trs in the CPU core + 15.5 million Trs in the
secondary cache 8K data, 8K instr cache
– 256 KB SRAM secondary cache
– 200 SPECint92 at 133 MHz
– 2.9 V, 0.6 micron BICMOS
• Pentium II
– Pentium Pro + MMX, 1997
– 233, 266, upto 450 MHz
– 7.5 million Trs in CPU
– 512KB in secondary cache
• Pentium III
– 1999
– Pentium Pro + MMX + Internet Streaming SIMD Instructions
– 0.25 micron, 9.5 million Trs
– 600 MHz, 550 MHz,...
– 32 K(16K/16K) non-blocking level 1 cache
The History of Intel’s Microprocessors
IBM PC/AT and ISA Bus
80386-based PC/AT-Compatible System
LOCAL
BUS
SYSTEM
BUS
386D
X
387
DX
82385DX
Cache
Controlle
r
Cache
BIOS
Industry Standard Architecture(ISA) Bus
82345
Data
Buffer
82346
System
Controller
82344
ISA
Controller
DRAM
82341
Periphera
l
Combo
386DX+82340 chip set
Pentium Processor/82430 PCIset ISA
Pentium
Processor
Host Bus
CNTL
ADDR
DATA
SRAM
Latc
h
CNTL
ADDR/DATA
PCI BUS
ISA BUS
82434
PCMC
DRAM
8243
3
LBX
82378
SIO
Graphic
s
PCI
devices
ISA Bus Interface Signals
ISA Bus Interface Signals
Block Diagram of the System Board
• All signal lines are TTL compatible. Fan-out are two low power Shottkey(LS) TTLs.
• SA0 through SA19: System Address Bus:(I/O)
– to address memory and I/O devices; 16MB of memory with LA17 through LA23
– input when CPUHLDA is high and MASTER* is low; output at all other times
– SA bus driven by CPU when CPUHLDA is low; SA bus driven by 8237 DMA controller when
CPUHLDA is high
– latched with an internally generated ALE signal
ISA
Bus
CP
U
da
ta
ad
dr
DMA MEM
dat
a
add
r
Externa
l
Master
Memor
y
I/O
• LA17 through LA23 (Latchable Address Bus); I/O
– the same as SA19-SA0
• MEMR* (Memory Read, active low); I/O
– Input when CPUHLDA is high and MASTER* is low
– it is driven from the 288 bus controller when CPUHLDA is low and MASTER* is high
– it is driven by the 8237 DMA controller when CPUHLDA is high and MASTER* is high
– requires an external 10K pull-up resistor
• MEMW*(Memory Write, active low): I/O
– Input/output determination: the same as MEMR*
– requires an external 10K pull-up resistor
• SMEMR*(Memory Read): I/O
– Input/Output determination: the same as MEMR*
– active on memory read cycles to addresses below 1 MB.
– requires an external 10KΩ pull-up resistor
• SMEMW*(Memory Write):I/O
– Input/Output determination: the same as MEMR*
– active on memory read cycles to addresses below 1 MB.
– requires an external 10K pull-up resistor
• SBHE*(System Byte High Enable) : I/O
– controlled the same way as the SA bus
• REFRESH*(Refresh signal); I/O
• SYSCLK(System Clock) : O
– this output is half the frequency of the BUSCLK input
– BALE, IOR*, IOW*, MEMR*, MEMW* are synchronized to SYSCLK
• OSC(Oscillator): I-TTL
– the buffered in/out of the external 14.318 MHz oscillator.
• RSTDRV(Reset Drive): O
• BALE(Buffered Address Latch Enable): O
– A pulse which is generated at the beginning of any bus cycle initiated from the CPU.
• AEN (Address Enable): O
– goes high anytime the inputs CPUHLDA and MASTER* are both high
– DMA controller has control when this signal is active
• T/C (Terminal Count): O
– indicates that one of the DMA channels terminal count has been reached
• DACK7*- DACK5*, DACK3*- DACK0* (DMAAcknowledge): O
• DRQ7-DRQ5, DRQ3-DRQ0 (DMA Request) : I
– DRQ0-DRQ3 : from 8-bit I/O adapters to/from system memory
– DRQ5-DRQ7: from 16-bit I/O to/from system memory
– DRQ4 is not available externally as it is used to cascade the two DMA controllers together.
• IRQ15-IRQ9, IRQ7-IRQ3, IRQ1 (Interrupt Request) : I
– inputs for the 8259 megacells
– IRQ0, IRQ2, IRQ8 ; not available as external inputs
• MASTER* (Master) : I
– used by an external device to disable the internal DMA controllers and get access to the system
bus
– when asserted it indicates that an external bus master has control of the bus.
• MEMCS16* (Memory Chip Select 16-bit) : I
– used to determine when a 16-bit to 8-bit conversion is needed for CPU addresses
– A 16 to 8 conversion is done anytime the System Controller requests a 16-bit memory cycle
and MASTER* is sampled high.
• IOCS16* (I/O Chip Select 16-bit) : I
– functions the same way as MEMCS16* signals
• IOCHK* (I/O Channel Check): I
– used to indicate that an error has taken place on the I/O bus
• IOCHRDY (I/O Channel Ready) : I
– pulled low in order to extend the read or write cycles of any bus access when required
– the default number of wait states for cycles initiated by the CPU;
• four wait states for 8-bit peripherals
• one wait state for 16-bit peripherals
• three wait states for ROM cycles
– One wait state is inserted as the default for all DMA cycles
• WS0* (Wait State 0) : I
– pulled low by a peripheral on the bus to terminate a CPU controlled bus cycle earlier than the
default values

More Related Content

PDF
EE6502 Microprocessor & Microcontroller Regulation 2013
PPTX
Lect 1 Into.pptx
PPT
PDF
Microprocessor System qwefqwgqwgqwgqwgqegew
PPT
I. Introduction to Microprocessor System.ppt
PPT
Microprocessor Based Systems.ppt
PPTX
UNIT 2 8086 System Bus Structure.pptx
PDF
MICROPROCESSOR & MICROCONTROLLER 8086,8051 Notes
EE6502 Microprocessor & Microcontroller Regulation 2013
Lect 1 Into.pptx
Microprocessor System qwefqwgqwgqwgqwgqegew
I. Introduction to Microprocessor System.ppt
Microprocessor Based Systems.ppt
UNIT 2 8086 System Bus Structure.pptx
MICROPROCESSOR & MICROCONTROLLER 8086,8051 Notes

Similar to Lect01 OPERAND ADDRESSING MODES OPERAND ADDRESSING MO (20)

DOCX
8085 manual NCIT SAROZ BISTA SIR
PPT
8086-microprocessor
PPTX
History of processor
PPTX
microprocessor unit1 2022.pptx
PDF
02 microprocessors-microcontrollers
PPT
Micro processor
PPSX
Evolution of microprocessors
PPSX
Evolution Of Microprocessors
PPTX
TOPIC 2 - Evolution of Microprocessors.pptx
PPT
computer architecture
PDF
Introduction to Microprocessors
PPTX
Introduction to microcomputer by VU.pptx
PPTX
UNIT 2.pptx
PDF
microprocessormicrocontrollerbysanat-140107013112-phpapp02.pdf
PPTX
Evolution of processors
PPTX
Evolution of microprocessors
PPTX
Evolution of microprocessors
PDF
chapter 1-part 1 introduction o microprocessor.pdf
8085 manual NCIT SAROZ BISTA SIR
8086-microprocessor
History of processor
microprocessor unit1 2022.pptx
02 microprocessors-microcontrollers
Micro processor
Evolution of microprocessors
Evolution Of Microprocessors
TOPIC 2 - Evolution of Microprocessors.pptx
computer architecture
Introduction to Microprocessors
Introduction to microcomputer by VU.pptx
UNIT 2.pptx
microprocessormicrocontrollerbysanat-140107013112-phpapp02.pdf
Evolution of processors
Evolution of microprocessors
Evolution of microprocessors
chapter 1-part 1 introduction o microprocessor.pdf
Ad

Recently uploaded (20)

PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
Geodesy 1.pptx...............................................
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
web development for engineering and engineering
PDF
PPT on Performance Review to get promotions
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Sustainable Sites - Green Building Construction
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
DOCX
573137875-Attendance-Management-System-original
PDF
737-MAX_SRG.pdf student reference guides
Fundamentals of safety and accident prevention -final (1).pptx
Internet of Things (IOT) - A guide to understanding
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Geodesy 1.pptx...............................................
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
CYBER-CRIMES AND SECURITY A guide to understanding
Embodied AI: Ushering in the Next Era of Intelligent Systems
web development for engineering and engineering
PPT on Performance Review to get promotions
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Operating System & Kernel Study Guide-1 - converted.pdf
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Sustainable Sites - Green Building Construction
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
573137875-Attendance-Management-System-original
737-MAX_SRG.pdf student reference guides
Ad

Lect01 OPERAND ADDRESSING MODES OPERAND ADDRESSING MO

  • 1. Lecture 1: Introduction to Microprocessors and Microcomputers Seungryoul Maeng Computer Science, KAIST Fall 2000
  • 2. Syllabus • Course Grading: – 강의 : 60 % • 중간 시험 : 25% • 기말 시험 : 25% • 기타 ( 숙제 , 퀴즈 등 ) : 10% – 강의 출석 : 특별한 사유 없이 5 번 이상 결석하면 강의점수가 없음 – 실험 : 40% • Course Texts: 1. The 80386, 80486, and Pentium Processor, Walter A. Triebel, Prentice Hall. 2. 실험 노트
  • 3. Syllabus • 강의 교수 – 맹 승렬 , Room 3438, maeng@cs.kaist.ac.kr – home page : http://camars.kaist.ac.kr/~maeng – Office Hours : Mon, Wed. 13:00 - 14:30 • TAs – 이재원 • Course Description • 실험 – 2 명이 한조를 이룸
  • 4. What is a microcomputer system? • Block diagram of a digital computer • Block diagram of a microcomputer system Memory Input CPU Output Memory Input Microprocessor Output
  • 5. NMOS Inverter NMOS Transistor(NMOS FET) SiO2 산화막 ( 약 0.6 micron) P type silicon gate oxide( 약 0.05 micron) polysilicon(Low Pressure Chemical Vapor Deposition 으로 얹음 ) AS 이온 주입 Source, drain 영역 형성 n+ n+
  • 6. NMOS Inverter n+ n+ 산화막 성장 n+ n+ contact 부분 식각후 aluminum 증착 , 패턴 형성 2 λ Length unit --- λ (micron) λ aluminum
  • 7. What is a microprocessor? • Criteria – number of chips – data path – address space – CPU performance – Price • Types of microprocessor – Application • Re-programmable microprocessors • embedded microprocessors and micro-controllers – Instruction complexity • CISC • RISC
  • 8. Classes of Computers • What is the difference between main, mini, and micro? – The capacity and performance of the electronics used to implement their building blocks and the resulting overall system capacity and performance. • CPU performance Tech Driven Machine Organization
  • 9. Microprocessor Architecture 의 특징 • different from the architectures of large main frames? Why? • One or a few VLSI chips • VLSI environments – density per chip • die size ---- yield • feature size --- 1.0 micron, 0.3 micron – I/O pad • chip cost • power consumption • propagation delay
  • 10. The History of Intel’s Microprocessors • Intel 4004 – 1971, 4-bit • Intel 8008 – 1972, 8-bit – Originally designed for Datapoint Corp. as a CRT display controller • Intel 8080 – 1974, April - Altair 8800, 1975, MITS( 256 bytes of Mem, $395) – Apple II -- Steve Jobs and Steve Wozniak 1976, Apple 사 설립 – Bill Gates and a fellow student : BASIC, 1975 --> Microsoft • Intel 8086/8088 – 1978, 16 bit: 8088, 1979, 8-bit external bus
  • 11. The History of Intel’s Microprocessors – IBM PC ; 1981 – 29,000 Trs • Intel 80286 – 1982, 16-bit architecture – 24-bit addressing, memory protection and virtual memory – 16 MB of physical MEM and 1 GB of virtual mem – 130,000 Trs onto a single chip – IBM PC/AT in 1984, IBM PS/2 Model 50 and 60 • Intel 80386 – 1985, 32 bits – 3~5 MIPS (7 MIPS on the 25 MHz chip) – memory paging and enhanced I/O permission features – 4GB programming model
  • 12. The History of Intel’s Microprocessors • Intel 80486 – 1989 Spring COMDEX show -> 1990 June : actual release – 1,200,000 Trs – 386+387+8K data and instruction cache, paging and MMU • Pentium – 1993 – 110 MIPS on 66 Mhz Chip – 16 KB on-chip cache and 64 bit data bus – superscalar technology (two instructions/clock) – 3.1 million transistors
  • 13. The History of Intel’s Microprocessors • Pentium Pro – 1995, Superscalar(three-way issue) – 5.5 million Trs in the CPU core + 15.5 million Trs in the secondary cache 8K data, 8K instr cache – 256 KB SRAM secondary cache – 200 SPECint92 at 133 MHz – 2.9 V, 0.6 micron BICMOS • Pentium II – Pentium Pro + MMX, 1997 – 233, 266, upto 450 MHz – 7.5 million Trs in CPU – 512KB in secondary cache
  • 14. • Pentium III – 1999 – Pentium Pro + MMX + Internet Streaming SIMD Instructions – 0.25 micron, 9.5 million Trs – 600 MHz, 550 MHz,... – 32 K(16K/16K) non-blocking level 1 cache The History of Intel’s Microprocessors
  • 15. IBM PC/AT and ISA Bus
  • 16. 80386-based PC/AT-Compatible System LOCAL BUS SYSTEM BUS 386D X 387 DX 82385DX Cache Controlle r Cache BIOS Industry Standard Architecture(ISA) Bus 82345 Data Buffer 82346 System Controller 82344 ISA Controller DRAM 82341 Periphera l Combo 386DX+82340 chip set
  • 17. Pentium Processor/82430 PCIset ISA Pentium Processor Host Bus CNTL ADDR DATA SRAM Latc h CNTL ADDR/DATA PCI BUS ISA BUS 82434 PCMC DRAM 8243 3 LBX 82378 SIO Graphic s PCI devices
  • 18. ISA Bus Interface Signals
  • 19. ISA Bus Interface Signals
  • 20. Block Diagram of the System Board • All signal lines are TTL compatible. Fan-out are two low power Shottkey(LS) TTLs. • SA0 through SA19: System Address Bus:(I/O) – to address memory and I/O devices; 16MB of memory with LA17 through LA23 – input when CPUHLDA is high and MASTER* is low; output at all other times – SA bus driven by CPU when CPUHLDA is low; SA bus driven by 8237 DMA controller when CPUHLDA is high – latched with an internally generated ALE signal ISA Bus CP U da ta ad dr DMA MEM dat a add r Externa l Master Memor y I/O
  • 21. • LA17 through LA23 (Latchable Address Bus); I/O – the same as SA19-SA0 • MEMR* (Memory Read, active low); I/O – Input when CPUHLDA is high and MASTER* is low – it is driven from the 288 bus controller when CPUHLDA is low and MASTER* is high – it is driven by the 8237 DMA controller when CPUHLDA is high and MASTER* is high – requires an external 10K pull-up resistor • MEMW*(Memory Write, active low): I/O – Input/output determination: the same as MEMR* – requires an external 10K pull-up resistor • SMEMR*(Memory Read): I/O – Input/Output determination: the same as MEMR* – active on memory read cycles to addresses below 1 MB. – requires an external 10KΩ pull-up resistor • SMEMW*(Memory Write):I/O – Input/Output determination: the same as MEMR* – active on memory read cycles to addresses below 1 MB. – requires an external 10K pull-up resistor • SBHE*(System Byte High Enable) : I/O – controlled the same way as the SA bus
  • 22. • REFRESH*(Refresh signal); I/O • SYSCLK(System Clock) : O – this output is half the frequency of the BUSCLK input – BALE, IOR*, IOW*, MEMR*, MEMW* are synchronized to SYSCLK • OSC(Oscillator): I-TTL – the buffered in/out of the external 14.318 MHz oscillator. • RSTDRV(Reset Drive): O • BALE(Buffered Address Latch Enable): O – A pulse which is generated at the beginning of any bus cycle initiated from the CPU. • AEN (Address Enable): O – goes high anytime the inputs CPUHLDA and MASTER* are both high – DMA controller has control when this signal is active • T/C (Terminal Count): O – indicates that one of the DMA channels terminal count has been reached • DACK7*- DACK5*, DACK3*- DACK0* (DMAAcknowledge): O • DRQ7-DRQ5, DRQ3-DRQ0 (DMA Request) : I – DRQ0-DRQ3 : from 8-bit I/O adapters to/from system memory – DRQ5-DRQ7: from 16-bit I/O to/from system memory – DRQ4 is not available externally as it is used to cascade the two DMA controllers together.
  • 23. • IRQ15-IRQ9, IRQ7-IRQ3, IRQ1 (Interrupt Request) : I – inputs for the 8259 megacells – IRQ0, IRQ2, IRQ8 ; not available as external inputs • MASTER* (Master) : I – used by an external device to disable the internal DMA controllers and get access to the system bus – when asserted it indicates that an external bus master has control of the bus. • MEMCS16* (Memory Chip Select 16-bit) : I – used to determine when a 16-bit to 8-bit conversion is needed for CPU addresses – A 16 to 8 conversion is done anytime the System Controller requests a 16-bit memory cycle and MASTER* is sampled high. • IOCS16* (I/O Chip Select 16-bit) : I – functions the same way as MEMCS16* signals • IOCHK* (I/O Channel Check): I – used to indicate that an error has taken place on the I/O bus • IOCHRDY (I/O Channel Ready) : I – pulled low in order to extend the read or write cycles of any bus access when required – the default number of wait states for cycles initiated by the CPU; • four wait states for 8-bit peripherals • one wait state for 16-bit peripherals • three wait states for ROM cycles – One wait state is inserted as the default for all DMA cycles
  • 24. • WS0* (Wait State 0) : I – pulled low by a peripheral on the bus to terminate a CPU controlled bus cycle earlier than the default values