SlideShare a Scribd company logo
1 of 37
by
Nazir Ahmad
Assistant Professor
Arid University
Sahiwal
Chap # 3
Asstt Prof. Nazir Ahmad11/18/18 1
Organization of the IBM Personal
Computers
The IBM personal computer family consists of the:
IBM PC
PC XT,
PC AT
PS/l, and PS/2 models.
All based on the Intel 8086 family of microprocessors, which
includes the
8086, 8088 ;used in PC and PC XT
80186 ;used in some PC-compatible lap-top models
80188
80286 ;used in the PC AT and PS/1.
80386
80386SX
80486, and
80486SX
The PS/2 models use either the 8086, 80286, 80386, or 80486:
Asstt Prof. Nazir Ahmad11/18/18 2
The 8086 and 8088 Microprocessors
Intel introduced the 8086 in 1978
first 16-bit microprocessor(a 16-bit processor can
operate on 16 bits of data at a time).
The 8088 was Introduced in 1979.
Internally, the 8088 is essentially the same as the
8086
Externally, the 8086 has a 16-bit data bus, while the
8088 has an 8-bit data bus.
Asstt Prof. Nazir Ahmad11/18/18 3
The 8086 and 8088 Microprocessors
The 8086 also has a faster. clock rate, and
thus has better performance
IBM chose the 8088 over the 8o86 for the
original PC because it was less expensive to
build a computer around the 8088.
The 8086 and 8088 have the same instruction
set and It forms the basic set of instructions
for the other microprocessors in the family.
Asstt Prof. Nazir Ahmad11/18/18 4
The 80186 and 80188 Microprocessors.
The 80186 and 80188 are enhanced versions of the 8086
and 8088, respectively.
Their advantage is that they incorporate all the functions
of the 8086 and 8088 microprocessors plus those of some
support chips.
They can also execute some new instructions called the
extended instruction set. However, these processors
offered no significant advantage over the 8086 and 8088
and were soon overshadowed by the development of the
80286.
Asstt Prof. Nazir Ahmad11/18/18 5
The 80286 Microprocessor
Introduced in 1982.
16-bit microprocessor.
operate faster than the 8086 (12.5 MHz versus 10 MHz)
Offers the following important advances over its
predecessors:
1. Two modes of operation.
 real address mode or
 protected virtual address mode.
Asstt Prof. Nazir Ahmad11/18/18 6
The 80286 Microprocessor(cont)
In real address mode, the 80286 behaves like the 8086, and
programs for the 8086 can be executed in this mode without
modification.
In protected virtual address mode, also called protected
mode, the 80286 supports multitasking, which is the ability to
execute several programs (tasks) at the same time, and memory
protection, which is the ability to protect the memory used by
one program from the actions of another program.
2. More addressable memory. The 80286 in
protected mode can address 16 megabytes of
physical memory (as opposed to 1 megabyte for the
8086 and 8088).
Asstt Prof. Nazir Ahmad11/18/18 7
The 80286 Microprocessor(cont)
2. Vi1tual memory in protected mode. This
means that the 80286 can treat external storage
(that is, a disk) as if it were physical memory,
and therefore execute programs that are too
large to be contained in physical memory; such
programs can be up to 1 gigabyte (230
bytes).
Asstt Prof. Nazir Ahmad11/18/18 8
The 80386 and 803B6SX Microprocessors
Intel first 32-bit microprocessor, in 1985.
faster than the 80286 because it has a 32-bit data path,
high clock rate (up to 33 MHz, and the ability to execute
instructions in fewer clock rate than the 80286
Like the 8028, the 386 can operate in either in real or
protected mode.
In real mode, it behaves like an 8086.
In protected mode, it can emulate the 80286.
Asstt Prof. Nazir Ahmad11/18/18 9
The 80386 and 803B6SX Microprocessors (cont)
It also has a virtual 8086 mode designed to run multiple
8086 applications under memory protection.
The 386, in protected mode, can address 4 gigabytes of
physical memory, and 64 terabyte (246
bytes) of virtual
memory
The 386S X has essentially the same internal structure as
the 386, but it has only a 16-bit data bus.
Asstt Prof. Nazir Ahmad11/18/18 10
The 80486 and 80486SX Microprocessors
Introduced in 1989,
Is another 32-bit microprocessor.
It is the fastest and most powerful in the family.
It incorporates the functions of the 386 together with
those of other support chips,
including the 80387 numeric processor, which
performs floating-point number operations, and
8-KB cache memory that serves as a fast memory
Asstt Prof. Nazir Ahmad11/18/18 11
With its numeric processor, cache memory, and more
advanced design,
The 486 is three times faster than a 386 running at
the same clock speed.
The 486SX is similar to the 486 but without the
floating-point processor.
Asstt Prof. Nazir Ahmad11/18/18 12
The 80486 and 80486SX Microprocessors
Organization of the 8086,8088
Microprocessors
Because the 8086 and 8088 have essentially the same
internal structure, in the following, the name "8086"
applies to both 8086 and 8088.
Asstt Prof. Nazir Ahmad11/18/18 13
Registers
 information inside the microprocessor is stored in
registers.
The registers are classified according to the functions
they perform.
In general. data registers hold data for an operation,
Address registers _ hold the address of instruction or
data, and
status registers keeps the current status of the
processor.
Asstt Prof. Nazir Ahmad11/18/18 14
Registers (cont..)
The 8086 have four general data registers; the address
registers are divided into segment, pointer and index
registers and the status register is called the FLAGS
register.
In total, there are fourteen 16-bit registers, which we
now briefly describe. Sec Figure 3.1.
Asstt Prof. Nazir Ahmad11/18/18 15
11/18/18 Asstt Prof. Nazir Ahmad 16
Data Registers: AX, BX, CX , DX
Asstt Prof. Nazir Ahmad11/18/18 17
Segment Registers: CS, DS, SS, ES
Asstt Prof. Nazir Ahmad11/18/18 18
Asstt Prof. Nazir Ahmad11/18/18 19
Asstt Prof. Nazir Ahmad11/18/18 20
Asstt Prof. Nazir Ahmad11/18/18 21
Asstt Prof. Nazir Ahmad11/18/18 22
Example 3.1
Asstt Prof. Nazir Ahmad11/18/18 23
Example 3.2
Asstt Prof. Nazir Ahmad11/18/18 24
Segment Registers
Asstt Prof. Nazir Ahmad11/18/18 25
Program Segments
Now let us talk about the registers CS, DS, SS, and ES.
 A typical machine language program consists of
instructions (code) and data.
There is also a data structure called the stack used by
the processor to implement procedure calls.
The program's code, data, and stack arc loaded into
different memory segments,
we call them the code segment. data segment, and
stack segment.
Asstt Prof. Nazir Ahmad11/18/18 26
To keep track of the various program segments, the
8086 is equipped with four segment registers to hold
Segment numbers. The CS, DS and SS registers
contain the code, data, an stack numbers, respectivily.
If a program needs to access a second data segment,
it can use the ES (extra segment) register.
A program segment need not occupy the entire 64
kilobytes in a memory segment. The overlapping
nature of the memory segments permits program
segments that arc less than 64 KB to be placed close
together.
Asstt Prof. Nazir Ahmad11/18/18 27
Figure 3.3 shows a typycal layout of the program
segments In memory (the segment numbers and the
relative placement of the program segments shown
are arbitrary).
At any given time, only those memory locations
addressed by the four segment registers are
accessible; that ls, only four memory seg~e111s are
active. However, the contents of a segment register
can be modified by a program to address different
segments.
Asstt Prof. Nazir Ahmad11/18/18 28
Pointer and Index Registers: SP,
BP, SI, DI
The registers SP, BP, SI, and DI normally point to
(contain the offset addresses of) memory locations.
Unlike segment registers, the pointer and index
registers can be used in arithmetic and other
operations.
SP (Stack Pointer)
The SP (stack pointer) register is used in conjunction
with SS for acccesing the stack segment. Operations of
the stack are covered in Chapter 8.
Asstt Prof. Nazir Ahmad11/18/18 29
Asstt Prof. Nazir Ahmad11/18/18 30
Asstt Prof. Nazir Ahmad11/18/18 31
Organization of the PC
Instructions
A computer system is made up of both
hardware and
software.
It is the software that controls the hardware
operations.
So, to fully understand the operations of the'
computer, you also study the software that controls
the computer.
The Operating System
Asstt Prof. Nazir Ahmad11/18/18 32
The Operating System
The most Important piece of software for a computer
Purpose: to coordinate the operations of all the
devices that make up the computer system.
Some of the operating system functions are
 1. reading and executing· the commands typed by the user
 2. performing I/0 operations.
 3. generating error messages ·
 4. managing memory and other resources
Asstt Prof. Nazir Ahmad11/18/18 33
At present, the most popular operating system for the
IBM PC is the disk operating system (DOS), also
referred to as PC DOS or MS DOS.
DOS was dcsigned for the 8086/8088-based
computers.
it can manage only 1 megabyte of memory and it does
not support multitasking.
However, It can be used on 80286, 80386, and 80486-
based machines when they run in real address mode.
 One of the many functions performed by DOS is
reading and writing inforn1ation on a disk.Asstt Prof. Nazir Ahmad11/18/18 34
Asstt Prof. Nazir Ahmad11/18/18 35
Asstt Prof. Nazir Ahmad11/18/18 36
Asstt Prof. Nazir Ahmad11/18/18 37

More Related Content

What's hot

Microprocessor 80286
Microprocessor 80286Microprocessor 80286
Microprocessor 80286Smile Hossain
 
Microprocessors (Kostyantyn Kharchenko)
Microprocessors (Kostyantyn Kharchenko)Microprocessors (Kostyantyn Kharchenko)
Microprocessors (Kostyantyn Kharchenko)kostyah
 
Richard_Baker-Intel_I-32_Processor_Architecture_Overview
Richard_Baker-Intel_I-32_Processor_Architecture_OverviewRichard_Baker-Intel_I-32_Processor_Architecture_Overview
Richard_Baker-Intel_I-32_Processor_Architecture_OverviewRichard Baker
 
Pin Description Of Intel 80386 DX Microprocessor
Pin Description Of Intel 80386 DX MicroprocessorPin Description Of Intel 80386 DX Microprocessor
Pin Description Of Intel 80386 DX MicroprocessorRaunaq Sahni
 
0.2 evolution of microprocessor
0.2 evolution of microprocessor0.2 evolution of microprocessor
0.2 evolution of microprocessorsubhamsriramka
 
Motorola microprocessor
Motorola microprocessorMotorola microprocessor
Motorola microprocessorIffat Anjum
 
Introduction to Microprocessors
Introduction to MicroprocessorsIntroduction to Microprocessors
Introduction to Microprocessors76 Degree Creative
 
Evolution of microprocessors
Evolution of microprocessorsEvolution of microprocessors
Evolution of microprocessorsAnas Abrar
 
Difference b/w 8085 & 8086
Difference b/w 8085 & 8086Difference b/w 8085 & 8086
Difference b/w 8085 & 8086j4jiet
 

What's hot (20)

Intel 80286
Intel 80286Intel 80286
Intel 80286
 
Micro processor
Micro processorMicro processor
Micro processor
 
microprocessor
microprocessormicroprocessor
microprocessor
 
Microprocessor 80286
Microprocessor 80286Microprocessor 80286
Microprocessor 80286
 
Ieee Intel
Ieee IntelIeee Intel
Ieee Intel
 
Microprocessors (Kostyantyn Kharchenko)
Microprocessors (Kostyantyn Kharchenko)Microprocessors (Kostyantyn Kharchenko)
Microprocessors (Kostyantyn Kharchenko)
 
Advanced microprocessor
Advanced microprocessorAdvanced microprocessor
Advanced microprocessor
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Intel 4004
Intel 4004Intel 4004
Intel 4004
 
Richard_Baker-Intel_I-32_Processor_Architecture_Overview
Richard_Baker-Intel_I-32_Processor_Architecture_OverviewRichard_Baker-Intel_I-32_Processor_Architecture_Overview
Richard_Baker-Intel_I-32_Processor_Architecture_Overview
 
Pin Description Of Intel 80386 DX Microprocessor
Pin Description Of Intel 80386 DX MicroprocessorPin Description Of Intel 80386 DX Microprocessor
Pin Description Of Intel 80386 DX Microprocessor
 
The 80386 80486
The 80386 80486The 80386 80486
The 80386 80486
 
Microprocessor
Microprocessor Microprocessor
Microprocessor
 
Microprocessor ppt
Microprocessor pptMicroprocessor ppt
Microprocessor ppt
 
0.2 evolution of microprocessor
0.2 evolution of microprocessor0.2 evolution of microprocessor
0.2 evolution of microprocessor
 
Motorola microprocessor
Motorola microprocessorMotorola microprocessor
Motorola microprocessor
 
Introduction to Microprocessors
Introduction to MicroprocessorsIntroduction to Microprocessors
Introduction to Microprocessors
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Evolution of microprocessors
Evolution of microprocessorsEvolution of microprocessors
Evolution of microprocessors
 
Difference b/w 8085 & 8086
Difference b/w 8085 & 8086Difference b/w 8085 & 8086
Difference b/w 8085 & 8086
 

Similar to IBM processors,registers,segmentation

Microprocessors & Microcomputers Lecture Notes
Microprocessors & Microcomputers Lecture NotesMicroprocessors & Microcomputers Lecture Notes
Microprocessors & Microcomputers Lecture NotesFellowBuddy.com
 
evolutionofmicroprocessors-100820113907-phpapp02.pptx
evolutionofmicroprocessors-100820113907-phpapp02.pptxevolutionofmicroprocessors-100820113907-phpapp02.pptx
evolutionofmicroprocessors-100820113907-phpapp02.pptxAashikHussain2
 
Evolution of microprocessors
Evolution of microprocessorsEvolution of microprocessors
Evolution of microprocessorsharinder
 
Evolution Of Microprocessors
Evolution Of MicroprocessorsEvolution Of Microprocessors
Evolution Of Microprocessorsharinder
 
History of processor
History of processorHistory of processor
History of processorSana Ullah
 
80386 processor
80386 processor80386 processor
80386 processorRasmi M
 
Microprocessor Unit -1 SE computer-II.pptx
Microprocessor  Unit -1 SE computer-II.pptxMicroprocessor  Unit -1 SE computer-II.pptx
Microprocessor Unit -1 SE computer-II.pptxakshathsingh2003
 
Intel 8086 microprocessor
Intel 8086 microprocessorIntel 8086 microprocessor
Intel 8086 microprocessorRavi Yasas
 
Microprocessor 8085
Microprocessor 8085Microprocessor 8085
Microprocessor 8085Dhaval Barot
 
Microprocessor & Assembly language by team blackhole
Microprocessor & Assembly language by team blackholeMicroprocessor & Assembly language by team blackhole
Microprocessor & Assembly language by team blackholeMd Abdus Sobur Sikdar
 
Microprocessor ArchitectureProcessors for Mobile Computing.docx
Microprocessor ArchitectureProcessors for Mobile Computing.docxMicroprocessor ArchitectureProcessors for Mobile Computing.docx
Microprocessor ArchitectureProcessors for Mobile Computing.docxannandleola
 
Architecture of 80386(www.munnuz.co.cc)
Architecture of 80386(www.munnuz.co.cc)Architecture of 80386(www.munnuz.co.cc)
Architecture of 80386(www.munnuz.co.cc)muneer.k
 

Similar to IBM processors,registers,segmentation (20)

Micropro
MicroproMicropro
Micropro
 
Microprocessors & Microcomputers Lecture Notes
Microprocessors & Microcomputers Lecture NotesMicroprocessors & Microcomputers Lecture Notes
Microprocessors & Microcomputers Lecture Notes
 
3. Coprocessor.ppt
3. Coprocessor.ppt3. Coprocessor.ppt
3. Coprocessor.ppt
 
evolutionofmicroprocessors-100820113907-phpapp02.pptx
evolutionofmicroprocessors-100820113907-phpapp02.pptxevolutionofmicroprocessors-100820113907-phpapp02.pptx
evolutionofmicroprocessors-100820113907-phpapp02.pptx
 
Intel architectuer
Intel architectuerIntel architectuer
Intel architectuer
 
Evolution of microprocessors
Evolution of microprocessorsEvolution of microprocessors
Evolution of microprocessors
 
Evolution Of Microprocessors
Evolution Of MicroprocessorsEvolution Of Microprocessors
Evolution Of Microprocessors
 
History of processor
History of processorHistory of processor
History of processor
 
Microprocessor evolution
Microprocessor evolutionMicroprocessor evolution
Microprocessor evolution
 
Microprocessor evolution
Microprocessor evolutionMicroprocessor evolution
Microprocessor evolution
 
80386 processor
80386 processor80386 processor
80386 processor
 
Microprocessor Unit -1 SE computer-II.pptx
Microprocessor  Unit -1 SE computer-II.pptxMicroprocessor  Unit -1 SE computer-II.pptx
Microprocessor Unit -1 SE computer-II.pptx
 
It322 intro 2
It322 intro 2It322 intro 2
It322 intro 2
 
Intel 8086 microprocessor
Intel 8086 microprocessorIntel 8086 microprocessor
Intel 8086 microprocessor
 
Microprocessor 8085
Microprocessor 8085Microprocessor 8085
Microprocessor 8085
 
Microprocessor & Assembly language by team blackhole
Microprocessor & Assembly language by team blackholeMicroprocessor & Assembly language by team blackhole
Microprocessor & Assembly language by team blackhole
 
introduction to MP.ppt
introduction to MP.pptintroduction to MP.ppt
introduction to MP.ppt
 
nasm_final
nasm_finalnasm_final
nasm_final
 
Microprocessor ArchitectureProcessors for Mobile Computing.docx
Microprocessor ArchitectureProcessors for Mobile Computing.docxMicroprocessor ArchitectureProcessors for Mobile Computing.docx
Microprocessor ArchitectureProcessors for Mobile Computing.docx
 
Architecture of 80386(www.munnuz.co.cc)
Architecture of 80386(www.munnuz.co.cc)Architecture of 80386(www.munnuz.co.cc)
Architecture of 80386(www.munnuz.co.cc)
 

Recently uploaded

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 

Recently uploaded (20)

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 

IBM processors,registers,segmentation

  • 1. by Nazir Ahmad Assistant Professor Arid University Sahiwal Chap # 3 Asstt Prof. Nazir Ahmad11/18/18 1
  • 2. Organization of the IBM Personal Computers The IBM personal computer family consists of the: IBM PC PC XT, PC AT PS/l, and PS/2 models. All based on the Intel 8086 family of microprocessors, which includes the 8086, 8088 ;used in PC and PC XT 80186 ;used in some PC-compatible lap-top models 80188 80286 ;used in the PC AT and PS/1. 80386 80386SX 80486, and 80486SX The PS/2 models use either the 8086, 80286, 80386, or 80486: Asstt Prof. Nazir Ahmad11/18/18 2
  • 3. The 8086 and 8088 Microprocessors Intel introduced the 8086 in 1978 first 16-bit microprocessor(a 16-bit processor can operate on 16 bits of data at a time). The 8088 was Introduced in 1979. Internally, the 8088 is essentially the same as the 8086 Externally, the 8086 has a 16-bit data bus, while the 8088 has an 8-bit data bus. Asstt Prof. Nazir Ahmad11/18/18 3
  • 4. The 8086 and 8088 Microprocessors The 8086 also has a faster. clock rate, and thus has better performance IBM chose the 8088 over the 8o86 for the original PC because it was less expensive to build a computer around the 8088. The 8086 and 8088 have the same instruction set and It forms the basic set of instructions for the other microprocessors in the family. Asstt Prof. Nazir Ahmad11/18/18 4
  • 5. The 80186 and 80188 Microprocessors. The 80186 and 80188 are enhanced versions of the 8086 and 8088, respectively. Their advantage is that they incorporate all the functions of the 8086 and 8088 microprocessors plus those of some support chips. They can also execute some new instructions called the extended instruction set. However, these processors offered no significant advantage over the 8086 and 8088 and were soon overshadowed by the development of the 80286. Asstt Prof. Nazir Ahmad11/18/18 5
  • 6. The 80286 Microprocessor Introduced in 1982. 16-bit microprocessor. operate faster than the 8086 (12.5 MHz versus 10 MHz) Offers the following important advances over its predecessors: 1. Two modes of operation.  real address mode or  protected virtual address mode. Asstt Prof. Nazir Ahmad11/18/18 6
  • 7. The 80286 Microprocessor(cont) In real address mode, the 80286 behaves like the 8086, and programs for the 8086 can be executed in this mode without modification. In protected virtual address mode, also called protected mode, the 80286 supports multitasking, which is the ability to execute several programs (tasks) at the same time, and memory protection, which is the ability to protect the memory used by one program from the actions of another program. 2. More addressable memory. The 80286 in protected mode can address 16 megabytes of physical memory (as opposed to 1 megabyte for the 8086 and 8088). Asstt Prof. Nazir Ahmad11/18/18 7
  • 8. The 80286 Microprocessor(cont) 2. Vi1tual memory in protected mode. This means that the 80286 can treat external storage (that is, a disk) as if it were physical memory, and therefore execute programs that are too large to be contained in physical memory; such programs can be up to 1 gigabyte (230 bytes). Asstt Prof. Nazir Ahmad11/18/18 8
  • 9. The 80386 and 803B6SX Microprocessors Intel first 32-bit microprocessor, in 1985. faster than the 80286 because it has a 32-bit data path, high clock rate (up to 33 MHz, and the ability to execute instructions in fewer clock rate than the 80286 Like the 8028, the 386 can operate in either in real or protected mode. In real mode, it behaves like an 8086. In protected mode, it can emulate the 80286. Asstt Prof. Nazir Ahmad11/18/18 9
  • 10. The 80386 and 803B6SX Microprocessors (cont) It also has a virtual 8086 mode designed to run multiple 8086 applications under memory protection. The 386, in protected mode, can address 4 gigabytes of physical memory, and 64 terabyte (246 bytes) of virtual memory The 386S X has essentially the same internal structure as the 386, but it has only a 16-bit data bus. Asstt Prof. Nazir Ahmad11/18/18 10
  • 11. The 80486 and 80486SX Microprocessors Introduced in 1989, Is another 32-bit microprocessor. It is the fastest and most powerful in the family. It incorporates the functions of the 386 together with those of other support chips, including the 80387 numeric processor, which performs floating-point number operations, and 8-KB cache memory that serves as a fast memory Asstt Prof. Nazir Ahmad11/18/18 11
  • 12. With its numeric processor, cache memory, and more advanced design, The 486 is three times faster than a 386 running at the same clock speed. The 486SX is similar to the 486 but without the floating-point processor. Asstt Prof. Nazir Ahmad11/18/18 12 The 80486 and 80486SX Microprocessors
  • 13. Organization of the 8086,8088 Microprocessors Because the 8086 and 8088 have essentially the same internal structure, in the following, the name "8086" applies to both 8086 and 8088. Asstt Prof. Nazir Ahmad11/18/18 13
  • 14. Registers  information inside the microprocessor is stored in registers. The registers are classified according to the functions they perform. In general. data registers hold data for an operation, Address registers _ hold the address of instruction or data, and status registers keeps the current status of the processor. Asstt Prof. Nazir Ahmad11/18/18 14
  • 15. Registers (cont..) The 8086 have four general data registers; the address registers are divided into segment, pointer and index registers and the status register is called the FLAGS register. In total, there are fourteen 16-bit registers, which we now briefly describe. Sec Figure 3.1. Asstt Prof. Nazir Ahmad11/18/18 15
  • 16. 11/18/18 Asstt Prof. Nazir Ahmad 16
  • 17. Data Registers: AX, BX, CX , DX Asstt Prof. Nazir Ahmad11/18/18 17
  • 18. Segment Registers: CS, DS, SS, ES Asstt Prof. Nazir Ahmad11/18/18 18
  • 19. Asstt Prof. Nazir Ahmad11/18/18 19
  • 20. Asstt Prof. Nazir Ahmad11/18/18 20
  • 21. Asstt Prof. Nazir Ahmad11/18/18 21
  • 22. Asstt Prof. Nazir Ahmad11/18/18 22
  • 23. Example 3.1 Asstt Prof. Nazir Ahmad11/18/18 23
  • 24. Example 3.2 Asstt Prof. Nazir Ahmad11/18/18 24
  • 25. Segment Registers Asstt Prof. Nazir Ahmad11/18/18 25
  • 26. Program Segments Now let us talk about the registers CS, DS, SS, and ES.  A typical machine language program consists of instructions (code) and data. There is also a data structure called the stack used by the processor to implement procedure calls. The program's code, data, and stack arc loaded into different memory segments, we call them the code segment. data segment, and stack segment. Asstt Prof. Nazir Ahmad11/18/18 26
  • 27. To keep track of the various program segments, the 8086 is equipped with four segment registers to hold Segment numbers. The CS, DS and SS registers contain the code, data, an stack numbers, respectivily. If a program needs to access a second data segment, it can use the ES (extra segment) register. A program segment need not occupy the entire 64 kilobytes in a memory segment. The overlapping nature of the memory segments permits program segments that arc less than 64 KB to be placed close together. Asstt Prof. Nazir Ahmad11/18/18 27
  • 28. Figure 3.3 shows a typycal layout of the program segments In memory (the segment numbers and the relative placement of the program segments shown are arbitrary). At any given time, only those memory locations addressed by the four segment registers are accessible; that ls, only four memory seg~e111s are active. However, the contents of a segment register can be modified by a program to address different segments. Asstt Prof. Nazir Ahmad11/18/18 28
  • 29. Pointer and Index Registers: SP, BP, SI, DI The registers SP, BP, SI, and DI normally point to (contain the offset addresses of) memory locations. Unlike segment registers, the pointer and index registers can be used in arithmetic and other operations. SP (Stack Pointer) The SP (stack pointer) register is used in conjunction with SS for acccesing the stack segment. Operations of the stack are covered in Chapter 8. Asstt Prof. Nazir Ahmad11/18/18 29
  • 30. Asstt Prof. Nazir Ahmad11/18/18 30
  • 31. Asstt Prof. Nazir Ahmad11/18/18 31
  • 32. Organization of the PC Instructions A computer system is made up of both hardware and software. It is the software that controls the hardware operations. So, to fully understand the operations of the' computer, you also study the software that controls the computer. The Operating System Asstt Prof. Nazir Ahmad11/18/18 32
  • 33. The Operating System The most Important piece of software for a computer Purpose: to coordinate the operations of all the devices that make up the computer system. Some of the operating system functions are  1. reading and executing· the commands typed by the user  2. performing I/0 operations.  3. generating error messages ·  4. managing memory and other resources Asstt Prof. Nazir Ahmad11/18/18 33
  • 34. At present, the most popular operating system for the IBM PC is the disk operating system (DOS), also referred to as PC DOS or MS DOS. DOS was dcsigned for the 8086/8088-based computers. it can manage only 1 megabyte of memory and it does not support multitasking. However, It can be used on 80286, 80386, and 80486- based machines when they run in real address mode.  One of the many functions performed by DOS is reading and writing inforn1ation on a disk.Asstt Prof. Nazir Ahmad11/18/18 34
  • 35. Asstt Prof. Nazir Ahmad11/18/18 35
  • 36. Asstt Prof. Nazir Ahmad11/18/18 36
  • 37. Asstt Prof. Nazir Ahmad11/18/18 37