SlideShare a Scribd company logo
1 of 40
Microprocessor History
• PMOS technology – slow and awkward to
interface with TTL family
• 4 bit processor
• Instructions were executed in about 20 µs.
• Intel 4004 the first MP. 4K nibbles address
space.
• Intel 8008- can manipulate a whole byte.
• 16Kbytes address space
• 50,000 operations/second.
Early microprocessors
N-channel MOSFET
• 1970.
• Faster than P-MOS.
• Work with +ve supply; easy to interface with
TTL.
• 1973 Intel 8080 MP.
• 500,000 operations/second.
• 64K bytes memory.
• Upward software compatible with 8008.
• Other brands are MC6800, Fairchild’s F-8 etc.
Basic types of MP
• Two types
– Single component microprocessors
– Bit sliced microprocessors
• Can be cascaded to allow functioning systems with
word size from 4 bits to 200 bits.
Single component M Computer
• Composed of
– A processor
– read only memory (for program storage)
– Read/Write memory (for data storage)
– Input/output connections for interfacing
– Timer as event counter
• Intel 8048, Motorola 6805R2.
– Oven, washing machine, dish washer etc.
Modern MP
• 8, 16, 32, 64 bits are available.
• Intel 8085, Motorola 6800 – 8 bit word 16 bit
address.
• Intel 8088, 8086, Motorola 68000 – 16 bits word,
20 bits address.
• 80186 – never used.
• 286 – real mode and protected mode; 16MB
memory
• 386 – paging, 4GB memory, 32 bits word
• 486 – math coprocessor, L1 cache
Modern MP
• Pentium
– 64 bits i/o off the chip but process 32bits word, exception floating
point processed 64 bits, cache doubled, instruction pipelining.
• Pentium Pro
– L2 cache, Improved pipelining
• Pentium MMX
– Multi-Media extensions, 57 new inter instruc mostly used for
multimedia programming
• Pentium II, III, IV
– Pentium pro with MMX tech, increased L2 cache, full 64 bit
operation
• RISC
– Reduced instruction set processor, uniform length instruc, faster
in operation, cannot perform may different thing as CISC.
Basic MP architecture
• Fetch, decode,
execute.
• PC increment.
• First instruction
is a fetch
– 0000H for 8085
– FFFF0H for
8086, 8088
RegisterArray
control
Instruction
Register
ALU
Data Bus
Address Bus
Control
Bus
AF,
BC,
DE,
HL,
SP,
PC
many
more
Memory Interfacing and IO
decoding
• Interfacing needs bus
• Isolation and separation of signals from
different devices connected to MP.
– Unidirectional
– Bidirectional
• LS373, 244
Memory map
• Pictorial representation of the whole range
of memory address space.
– Defines which memory system is where, their
sizes etc.
• Address space or range.
– 8086 has 1M address space in minimum
mode.
– 8085 has 64K address sspace.
Address Decoding
• Address decoder is a digital ckt that indicates
that a particular area of memory is being
addressed, or pointed to, by the MP.
• Absolute address decoding
– Decode an address to one single output
– Decode 10110 so that u can get a signal from the
decoder when it receives exactly that bit pattern.
• Partial address decoding
– Some bits are used as don’t care so that decoder
gives a signal for a range of consecutive bit patterns.
1 0 1 1 0 10110
a b c d e
a b c d e
Can use decoder IC with gates to
achieve exact decoded o/p
Logic 1
8 input NAND gate implementation
Active low o/p signal
Absolute decoding
3to8linedcd
101
0
7
o/p
Partial decoding
• When a range of addresses are deconded then it is called partial
decoding. For example, if we need to generate a control signal for
an address generated by the MP within the range FFF0 – FFFF,
then it is called partial decoding.
• Decoder, multiplexer can be used for address decoding
1 1 1 1 1 1 1 1 1 1 1 1 x x x x
A15
A14
A4
Internal architecture of 8085
ALU
Flag register
S Z AC P CY 1. S : after the execution of an
arithmetic operation, if bit 7 of
the result is 1, then sign flag is
set.
2. Z : bit is set if ALU operation
results a zero in the Acc or
registers.
3. AC: bit is set, when a carry is
generated by bit 3 and passed
on bit 4.
4. P: parity bit is set when the
result has even number of 1s.
5. CY = carry is set when result
generates a carry. Also a
borrow flag.
Accumulator
• Hold data for manipulation (arithmetic, logical).
• Whenever the operation combines two words,
either arithmetically or logically, the accumulator
contains one word (say A) and the other
word(say B) may be contained in a register or in
memory location. After the operation the result is
placed in the Acc replacing the word A.
• Major working register. MP can directly work on
Acc.
• Programmed data tranfer.
General purpose registers
• Six registers.
• B, C, D, E, H and L can store 8 bit data.
• They can be combined to perform some
16 bit operation.
ALU
• Arithmetic logic unit.
• Two input ports, one output port.
• Perform AND, OR, ExOR, Add, subtract,
complement, Increment, Decrement, shift left,
shift right.
• ALUs two temporary registers are connected to
MPs internal bus from which it can take data
from any registers. It can place data directly to
data bus through its single output port.
Program counter
• Its job is to keep track of what instruction is
being used and what the next instruction will be.
• For 8085 it is 16 bit long.
• Can get data from internal bus as well as
memory location.
• PC automatically increments to point to the next
memory during the execution of the present
instruction.
• PC value can be changed by some instructions.
Stack pointer
• 16 bit register acts as memory pointer.
• Can save the value of the program counter
for later use.
• points to a region of memory which is
called stack. follows LIFO algorithm.
• After every stack operation SP points to
next available location of the stack.
Usually decrements.
Memory address register
• PC sends address to MAR. MAR points to the
location of the memory where the content is to
be fetched from.
• PC increments but MAR does not.
• If the content is an instruction, IR decodes it.
During execution if it is required to fetch another
word from memory, PC is loaded with the value
• PC again sends it to the MAR and fetch
operation starts.
Instruction register
• Holds instruction the micro is currently
being executed.
• 8 bit long.
others
• Instruction decoder.
• Control logic.
• Internal data bus.
8085
• 40 pin DIP.
• +5V
• 3 - 5MHz
– ADD BUS
– DATA BUS
– CONTROL STATUS
– POWER SUPPLY AND
FREQ
– EXTERNALLY INITIATED
SIGNALS
– SERIAL I/O PORTS
21 – 28
HIGH ORDER
ADD BUS
5V GND
30 ALE
29 S0
33 S1
34 IO/M’
32 RD’
31 WR’
CLK OUTRESET OUT
HLDA 38
INTA 11
RESET IN 36
HOLD 39
READY 35
INTR 10
RST5.5 9
RST6.5 8
RST7.5 7
TRAP 6
SOD 4
SID 5
12 – 19
MUX ADD/
DATA BUS
2040
X1 X2
3 37
• Address bus 16 bits
– A8 to A15 unidirectional. Higher 8 bit
– AD0 to AD7 multiplexed with data. This pins
are bidirectional when used as data bus.
• Data bus 8 bit long: AD0 to AD7
ADD/DATA bus
Data bus
D
G
Q’
OC
AD7
AD6
AD5
AD0
ALE
GND
Address bus.
Lower 8 bit
Address bus.
higher 8 bit
A8
A15
Control signals
• ALE – active high output
used to latch the lower 8
address bits.
• RD, WR - active low
output signals.
• IO/M – output signal to
differentiate memory and
IO operation.
• S1 and S0 – status output
signal. Identify various
operations.
Machine
cycle
IO/M’ S1 S0 Control
signals
Opcode
fetch
0 1 1 RD=0
Memory
read
0 1 0 RD=0
Memory
write
0 0 1 WR=0
I/O read 1 1 0 RD=0
I/O write 1 0 1 WR=0
Interrupt
Ackn
1 1 1 INTA=0
Halt Z 0 0 RD,
WR =Z
and
INTA=1
Hold Z X X
Reset Z X X
External control signals
• INTR – interrupt request. Input signal
• INTA – interrupt acknowledge. o/p signal.
• RST7.5,RST 6.5, RST5.5 – restart interrupts.
Vectored interrupts. Higher priority.
• TRAP - Nonmaskable interrupt. Highest priority.
• Hold – request for the control of buses. O/P
signal
• HLDA – Hold Acknowledge. I/P signal
• READY – I/P signal. When low Mp waits for
integral number of clock cycles until it goes high.
Bus control signals
8085
IO/M
RD
WR
MEMR
MEMWR
IOWR
IOWR
8080 functional block diagram
W
Temp Reg (8)
Z
Temp Reg (8)
H
(8)
L
(8)
B
(8)
C
(8)
D
(8)
E
(8)
Stack pointer
(16)
Program counter (16)
Incrementer/decrementer
Latch (16)
RegSelect
MUX
Address buffer (8) Data/Add buffer (8)
Instru
Register (8)
Instru
DecoderFlags
Accumu Temp Reg
Timing & control
Interrupt control Serial I/O control
Timing diaga. of Memory cycle
CLK
A15-A8
AD7-AD0
IO/M
RD
MEMRD
A7-A0 A7-A0
Data from
MPU
Data from
memory
WR
MEMWR
T1 T2 T3
ALE
T1 T2 T3
READ Cycle WRITE Cycle
Interfacing A Memory Chip
Memory
Chip
3 to 8
decoder
E1 E2 E3
A15
A14IO/M
A13
A12
A11
Q1
CEA10
A9
A0
D7
D0
D6
RD
WR
A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0
• 2K Byte memory
• Memory address space of the chip:
8800H to 8FFFH
1 0 0 0 1 X X X X X X X X X X X
MEMSEL
8 8 - F 0 - F 0 - F
MVI A,32H Instruction
2000H 3EH ;MVI A, 32H
2001H 32H
00H; low-
order Add
3E; opcode
T1 T2 T3 T4 T1 T2 T3
20H; high-order address
01H; low-
order Add
32H; Data
Unspecified 20H; High-order address
Status IO/M=0,S1=1,S0=1; opcode fetch Status IO/M=0,S1=1,S0=0; data read
RD
ALE
AD7-AD0
A15-A8
M1 (Opcode-fetch) M2 (Memory Read)
OUT/IN instruction
• port address: 50H
2050 D3
2051 50
• Let input port address is 30H
2150 DB
2151 30
OUT 50H sends acc content to I/O address 50H
IN 30H reads content from I/O address 30H and
stores the value in accum
IN 30H instruction
50H DB from
memory
21H Port add 30H
Data from
Accumula
T1 T2 T3 T4 T1 T2 T3 T1 T2 T3
21H unspec
ified
Port addre
30H
51H
Port add
30H
IO/M
M1 M2 M3
RD
MEMRD
IORD
ALE
AD7-AD0
A15-A8
CLK
T1 T2 T3 T4 T1 T2 T3 T1 T2 T3
20H Port add, 50H20H unspec
ified
IO/M
OUT 50H instruction
M1 M2 M3
50H Port addre
50H
Data from
Accumula51H
Port add
50H
Opcode
D3
RD
MEMRD
IORD
ALE
AD7-AD0
A15-A8
CLK
IOWR
Device selection & Data Transfer
• Decode the IO address.
• Combine it with control
the signal to generate a
unique IO select pulse
that is generated only
when both signals are
asserted.
• Use it to activate the IO
port
• Address decoding can
be absolute or partial Decoder
Addresslines
Enable
Databus
IOR or IOW
NOR
To
Peripherals
Latch
Or
Tri-state
Buffer
Interfacing LED for display
• Given port add: FFH
• Use octal latch as o/p port.
• Steps for IO select pulse:
– Decode FF
– Use IO/M to make the port output only
– Use WR signal to write data to the port
IO/M
A7
A0 Q7
A10
A9
A0
+5 V
WR
IOSEL
A1
G
OE
D FF
MVI A, data
OUT FFH
HLT
* To interface a 7-segment display
you need to decide about the type of
7-segment: common anode or
common cathode
* Power supply connection to the LED
segments will be opposite.
* For common cathode a 0 is sent to
the respective pin to lit it up.
Interfacing DIP switches
•Let port address: 07H –
00H
•Partial decoding
•Must use pull-up
resistors.
IN 07H instruction reads
a byte into accumulator
from port 07H
3 to 8
decoder
E1 E2 E3
IO/M
A7
A5
Q0
D0
+5 V
RD
IOSELA6
OE
A4
A3
D1
D7

More Related Content

What's hot (20)

8085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing18085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing1
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
8051 block diagram
8051 block diagram8051 block diagram
8051 block diagram
 
Introduction to intel 8086 part1
Introduction to intel 8086 part1Introduction to intel 8086 part1
Introduction to intel 8086 part1
 
8051 memory
8051 memory8051 memory
8051 memory
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
advancsed microprocessor and interfacing
advancsed microprocessor and interfacingadvancsed microprocessor and interfacing
advancsed microprocessor and interfacing
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
8086 Microprocessor
8086 Microprocessor8086 Microprocessor
8086 Microprocessor
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
8085
80858085
8085
 
8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware
 
Introduction to 8085 Microprocessors
Introduction to 8085 MicroprocessorsIntroduction to 8085 Microprocessors
Introduction to 8085 Microprocessors
 
MICROCONTROLLER 8051
MICROCONTROLLER 8051MICROCONTROLLER 8051
MICROCONTROLLER 8051
 
8 bit mips-processor
8 bit mips-processor8 bit mips-processor
8 bit mips-processor
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
8085 microprocessor notes
8085 microprocessor notes8085 microprocessor notes
8085 microprocessor notes
 
SHLD and LHLD instruction
SHLD and LHLD instructionSHLD and LHLD instruction
SHLD and LHLD instruction
 

Similar to Microprocessor history1

8086 architecture-unit-1
8086 architecture-unit-18086 architecture-unit-1
8086 architecture-unit-1logesh.ieee
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxGowrishankar C
 
8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.pptJamesAlpha3
 
Microprocessor questions converted
Microprocessor questions convertedMicroprocessor questions converted
Microprocessor questions convertedArghodeepPaul
 
Application of 8086 and 8085 Microprocessor in Robots.pptx
Application of 8086 and 8085 Microprocessor in Robots.pptxApplication of 8086 and 8085 Microprocessor in Robots.pptx
Application of 8086 and 8085 Microprocessor in Robots.pptxssuser631ea0
 
Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...
Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...
Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...sangeeta jogade
 
microcontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdfmicrocontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdf818Farida
 
Microprocessor and Application (8085)
Microprocessor and Application (8085)Microprocessor and Application (8085)
Microprocessor and Application (8085)ufaq kk
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 Microcontrollers
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III  The 8051 MicrocontrollersSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III  The 8051 Microcontrollers
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 MicrocontrollersArti Parab Academics
 
Presentation on 8086 microprocessor
Presentation on 8086 microprocessorPresentation on 8086 microprocessor
Presentation on 8086 microprocessorDiponkor Bala
 
INTEL 8086 MICROPROCESSOR
INTEL 8086 MICROPROCESSORINTEL 8086 MICROPROCESSOR
INTEL 8086 MICROPROCESSORSagar Kuntumal
 
architecture memory interfacing
architecture memory interfacingarchitecture memory interfacing
architecture memory interfacingShamsul Huda
 

Similar to Microprocessor history1 (20)

8086 architecture-unit-1
8086 architecture-unit-18086 architecture-unit-1
8086 architecture-unit-1
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
 
8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt
 
Microprocessor questions converted
Microprocessor questions convertedMicroprocessor questions converted
Microprocessor questions converted
 
Unit 4.pptx
Unit 4.pptxUnit 4.pptx
Unit 4.pptx
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
 
12 mt06ped001
12 mt06ped001 12 mt06ped001
12 mt06ped001
 
Module 1 8086
Module 1 8086Module 1 8086
Module 1 8086
 
8051.ppt
8051.ppt8051.ppt
8051.ppt
 
Application of 8086 and 8085 Microprocessor in Robots.pptx
Application of 8086 and 8085 Microprocessor in Robots.pptxApplication of 8086 and 8085 Microprocessor in Robots.pptx
Application of 8086 and 8085 Microprocessor in Robots.pptx
 
Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...
Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...
Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...
 
microcontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdfmicrocontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdf
 
Microprocessor and Application (8085)
Microprocessor and Application (8085)Microprocessor and Application (8085)
Microprocessor and Application (8085)
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 Microcontrollers
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III  The 8051 MicrocontrollersSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III  The 8051 Microcontrollers
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 Microcontrollers
 
MP_MC.pdf
MP_MC.pdfMP_MC.pdf
MP_MC.pdf
 
Presentation on 8086 microprocessor
Presentation on 8086 microprocessorPresentation on 8086 microprocessor
Presentation on 8086 microprocessor
 
Ch3 ppt
Ch3 pptCh3 ppt
Ch3 ppt
 
INTEL 8086 MICROPROCESSOR
INTEL 8086 MICROPROCESSORINTEL 8086 MICROPROCESSOR
INTEL 8086 MICROPROCESSOR
 
architecture memory interfacing
architecture memory interfacingarchitecture memory interfacing
architecture memory interfacing
 
UNIT 4.pptx
UNIT 4.pptxUNIT 4.pptx
UNIT 4.pptx
 

More from HarshitParkar6677 (20)

Wi fi hacking
Wi fi hackingWi fi hacking
Wi fi hacking
 
D dos attack
D dos attackD dos attack
D dos attack
 
Notes chapter 6
Notes chapter  6Notes chapter  6
Notes chapter 6
 
Interface notes
Interface notesInterface notes
Interface notes
 
Chapter6 2
Chapter6 2Chapter6 2
Chapter6 2
 
Chapter6
Chapter6Chapter6
Chapter6
 
8086 cpu 1
8086 cpu 18086 cpu 1
8086 cpu 1
 
Chapter 6 notes
Chapter 6 notesChapter 6 notes
Chapter 6 notes
 
Chapter 5 notes
Chapter 5 notesChapter 5 notes
Chapter 5 notes
 
Chap6 procedures & macros
Chap6 procedures & macrosChap6 procedures & macros
Chap6 procedures & macros
 
Chapter 5 notes new
Chapter 5 notes newChapter 5 notes new
Chapter 5 notes new
 
Notes arithmetic instructions
Notes arithmetic instructionsNotes arithmetic instructions
Notes arithmetic instructions
 
Notes all instructions
Notes all instructionsNotes all instructions
Notes all instructions
 
Notes aaa aa
Notes aaa aaNotes aaa aa
Notes aaa aa
 
Notes 8086 instruction format
Notes 8086 instruction formatNotes 8086 instruction format
Notes 8086 instruction format
 
Misc
MiscMisc
Misc
 
Copy of 8086inst logical
Copy of 8086inst logicalCopy of 8086inst logical
Copy of 8086inst logical
 
Copy of 8086inst logical
Copy of 8086inst logicalCopy of 8086inst logical
Copy of 8086inst logical
 
Chapter3 program flow control instructions
Chapter3 program flow control instructionsChapter3 program flow control instructions
Chapter3 program flow control instructions
 
Chapter3 8086inst stringsl
Chapter3 8086inst stringslChapter3 8086inst stringsl
Chapter3 8086inst stringsl
 

Recently uploaded

Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 

Recently uploaded (20)

Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 

Microprocessor history1

  • 2. • PMOS technology – slow and awkward to interface with TTL family • 4 bit processor • Instructions were executed in about 20 µs. • Intel 4004 the first MP. 4K nibbles address space. • Intel 8008- can manipulate a whole byte. • 16Kbytes address space • 50,000 operations/second. Early microprocessors
  • 3. N-channel MOSFET • 1970. • Faster than P-MOS. • Work with +ve supply; easy to interface with TTL. • 1973 Intel 8080 MP. • 500,000 operations/second. • 64K bytes memory. • Upward software compatible with 8008. • Other brands are MC6800, Fairchild’s F-8 etc.
  • 4. Basic types of MP • Two types – Single component microprocessors – Bit sliced microprocessors • Can be cascaded to allow functioning systems with word size from 4 bits to 200 bits.
  • 5. Single component M Computer • Composed of – A processor – read only memory (for program storage) – Read/Write memory (for data storage) – Input/output connections for interfacing – Timer as event counter • Intel 8048, Motorola 6805R2. – Oven, washing machine, dish washer etc.
  • 6. Modern MP • 8, 16, 32, 64 bits are available. • Intel 8085, Motorola 6800 – 8 bit word 16 bit address. • Intel 8088, 8086, Motorola 68000 – 16 bits word, 20 bits address. • 80186 – never used. • 286 – real mode and protected mode; 16MB memory • 386 – paging, 4GB memory, 32 bits word • 486 – math coprocessor, L1 cache
  • 7. Modern MP • Pentium – 64 bits i/o off the chip but process 32bits word, exception floating point processed 64 bits, cache doubled, instruction pipelining. • Pentium Pro – L2 cache, Improved pipelining • Pentium MMX – Multi-Media extensions, 57 new inter instruc mostly used for multimedia programming • Pentium II, III, IV – Pentium pro with MMX tech, increased L2 cache, full 64 bit operation • RISC – Reduced instruction set processor, uniform length instruc, faster in operation, cannot perform may different thing as CISC.
  • 8. Basic MP architecture • Fetch, decode, execute. • PC increment. • First instruction is a fetch – 0000H for 8085 – FFFF0H for 8086, 8088 RegisterArray control Instruction Register ALU Data Bus Address Bus Control Bus AF, BC, DE, HL, SP, PC many more
  • 10. • Interfacing needs bus • Isolation and separation of signals from different devices connected to MP. – Unidirectional – Bidirectional • LS373, 244
  • 11. Memory map • Pictorial representation of the whole range of memory address space. – Defines which memory system is where, their sizes etc. • Address space or range. – 8086 has 1M address space in minimum mode. – 8085 has 64K address sspace.
  • 12. Address Decoding • Address decoder is a digital ckt that indicates that a particular area of memory is being addressed, or pointed to, by the MP. • Absolute address decoding – Decode an address to one single output – Decode 10110 so that u can get a signal from the decoder when it receives exactly that bit pattern. • Partial address decoding – Some bits are used as don’t care so that decoder gives a signal for a range of consecutive bit patterns.
  • 13. 1 0 1 1 0 10110 a b c d e a b c d e Can use decoder IC with gates to achieve exact decoded o/p Logic 1 8 input NAND gate implementation Active low o/p signal Absolute decoding 3to8linedcd 101 0 7 o/p
  • 14. Partial decoding • When a range of addresses are deconded then it is called partial decoding. For example, if we need to generate a control signal for an address generated by the MP within the range FFF0 – FFFF, then it is called partial decoding. • Decoder, multiplexer can be used for address decoding 1 1 1 1 1 1 1 1 1 1 1 1 x x x x A15 A14 A4
  • 16. Flag register S Z AC P CY 1. S : after the execution of an arithmetic operation, if bit 7 of the result is 1, then sign flag is set. 2. Z : bit is set if ALU operation results a zero in the Acc or registers. 3. AC: bit is set, when a carry is generated by bit 3 and passed on bit 4. 4. P: parity bit is set when the result has even number of 1s. 5. CY = carry is set when result generates a carry. Also a borrow flag.
  • 17. Accumulator • Hold data for manipulation (arithmetic, logical). • Whenever the operation combines two words, either arithmetically or logically, the accumulator contains one word (say A) and the other word(say B) may be contained in a register or in memory location. After the operation the result is placed in the Acc replacing the word A. • Major working register. MP can directly work on Acc. • Programmed data tranfer.
  • 18. General purpose registers • Six registers. • B, C, D, E, H and L can store 8 bit data. • They can be combined to perform some 16 bit operation.
  • 19. ALU • Arithmetic logic unit. • Two input ports, one output port. • Perform AND, OR, ExOR, Add, subtract, complement, Increment, Decrement, shift left, shift right. • ALUs two temporary registers are connected to MPs internal bus from which it can take data from any registers. It can place data directly to data bus through its single output port.
  • 20. Program counter • Its job is to keep track of what instruction is being used and what the next instruction will be. • For 8085 it is 16 bit long. • Can get data from internal bus as well as memory location. • PC automatically increments to point to the next memory during the execution of the present instruction. • PC value can be changed by some instructions.
  • 21. Stack pointer • 16 bit register acts as memory pointer. • Can save the value of the program counter for later use. • points to a region of memory which is called stack. follows LIFO algorithm. • After every stack operation SP points to next available location of the stack. Usually decrements.
  • 22. Memory address register • PC sends address to MAR. MAR points to the location of the memory where the content is to be fetched from. • PC increments but MAR does not. • If the content is an instruction, IR decodes it. During execution if it is required to fetch another word from memory, PC is loaded with the value • PC again sends it to the MAR and fetch operation starts.
  • 23. Instruction register • Holds instruction the micro is currently being executed. • 8 bit long.
  • 24. others • Instruction decoder. • Control logic. • Internal data bus.
  • 25. 8085 • 40 pin DIP. • +5V • 3 - 5MHz – ADD BUS – DATA BUS – CONTROL STATUS – POWER SUPPLY AND FREQ – EXTERNALLY INITIATED SIGNALS – SERIAL I/O PORTS 21 – 28 HIGH ORDER ADD BUS 5V GND 30 ALE 29 S0 33 S1 34 IO/M’ 32 RD’ 31 WR’ CLK OUTRESET OUT HLDA 38 INTA 11 RESET IN 36 HOLD 39 READY 35 INTR 10 RST5.5 9 RST6.5 8 RST7.5 7 TRAP 6 SOD 4 SID 5 12 – 19 MUX ADD/ DATA BUS 2040 X1 X2 3 37
  • 26. • Address bus 16 bits – A8 to A15 unidirectional. Higher 8 bit – AD0 to AD7 multiplexed with data. This pins are bidirectional when used as data bus. • Data bus 8 bit long: AD0 to AD7 ADD/DATA bus Data bus D G Q’ OC AD7 AD6 AD5 AD0 ALE GND Address bus. Lower 8 bit Address bus. higher 8 bit A8 A15
  • 27. Control signals • ALE – active high output used to latch the lower 8 address bits. • RD, WR - active low output signals. • IO/M – output signal to differentiate memory and IO operation. • S1 and S0 – status output signal. Identify various operations. Machine cycle IO/M’ S1 S0 Control signals Opcode fetch 0 1 1 RD=0 Memory read 0 1 0 RD=0 Memory write 0 0 1 WR=0 I/O read 1 1 0 RD=0 I/O write 1 0 1 WR=0 Interrupt Ackn 1 1 1 INTA=0 Halt Z 0 0 RD, WR =Z and INTA=1 Hold Z X X Reset Z X X
  • 28. External control signals • INTR – interrupt request. Input signal • INTA – interrupt acknowledge. o/p signal. • RST7.5,RST 6.5, RST5.5 – restart interrupts. Vectored interrupts. Higher priority. • TRAP - Nonmaskable interrupt. Highest priority. • Hold – request for the control of buses. O/P signal • HLDA – Hold Acknowledge. I/P signal • READY – I/P signal. When low Mp waits for integral number of clock cycles until it goes high.
  • 30. 8080 functional block diagram W Temp Reg (8) Z Temp Reg (8) H (8) L (8) B (8) C (8) D (8) E (8) Stack pointer (16) Program counter (16) Incrementer/decrementer Latch (16) RegSelect MUX Address buffer (8) Data/Add buffer (8) Instru Register (8) Instru DecoderFlags Accumu Temp Reg Timing & control Interrupt control Serial I/O control
  • 31. Timing diaga. of Memory cycle CLK A15-A8 AD7-AD0 IO/M RD MEMRD A7-A0 A7-A0 Data from MPU Data from memory WR MEMWR T1 T2 T3 ALE T1 T2 T3 READ Cycle WRITE Cycle
  • 32. Interfacing A Memory Chip Memory Chip 3 to 8 decoder E1 E2 E3 A15 A14IO/M A13 A12 A11 Q1 CEA10 A9 A0 D7 D0 D6 RD WR A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 • 2K Byte memory • Memory address space of the chip: 8800H to 8FFFH 1 0 0 0 1 X X X X X X X X X X X MEMSEL 8 8 - F 0 - F 0 - F
  • 33. MVI A,32H Instruction 2000H 3EH ;MVI A, 32H 2001H 32H 00H; low- order Add 3E; opcode T1 T2 T3 T4 T1 T2 T3 20H; high-order address 01H; low- order Add 32H; Data Unspecified 20H; High-order address Status IO/M=0,S1=1,S0=1; opcode fetch Status IO/M=0,S1=1,S0=0; data read RD ALE AD7-AD0 A15-A8 M1 (Opcode-fetch) M2 (Memory Read)
  • 34. OUT/IN instruction • port address: 50H 2050 D3 2051 50 • Let input port address is 30H 2150 DB 2151 30 OUT 50H sends acc content to I/O address 50H IN 30H reads content from I/O address 30H and stores the value in accum
  • 35. IN 30H instruction 50H DB from memory 21H Port add 30H Data from Accumula T1 T2 T3 T4 T1 T2 T3 T1 T2 T3 21H unspec ified Port addre 30H 51H Port add 30H IO/M M1 M2 M3 RD MEMRD IORD ALE AD7-AD0 A15-A8 CLK
  • 36. T1 T2 T3 T4 T1 T2 T3 T1 T2 T3 20H Port add, 50H20H unspec ified IO/M OUT 50H instruction M1 M2 M3 50H Port addre 50H Data from Accumula51H Port add 50H Opcode D3 RD MEMRD IORD ALE AD7-AD0 A15-A8 CLK IOWR
  • 37. Device selection & Data Transfer • Decode the IO address. • Combine it with control the signal to generate a unique IO select pulse that is generated only when both signals are asserted. • Use it to activate the IO port • Address decoding can be absolute or partial Decoder Addresslines Enable Databus IOR or IOW NOR To Peripherals Latch Or Tri-state Buffer
  • 38. Interfacing LED for display • Given port add: FFH • Use octal latch as o/p port. • Steps for IO select pulse: – Decode FF – Use IO/M to make the port output only – Use WR signal to write data to the port
  • 39. IO/M A7 A0 Q7 A10 A9 A0 +5 V WR IOSEL A1 G OE D FF MVI A, data OUT FFH HLT * To interface a 7-segment display you need to decide about the type of 7-segment: common anode or common cathode * Power supply connection to the LED segments will be opposite. * For common cathode a 0 is sent to the respective pin to lit it up.
  • 40. Interfacing DIP switches •Let port address: 07H – 00H •Partial decoding •Must use pull-up resistors. IN 07H instruction reads a byte into accumulator from port 07H 3 to 8 decoder E1 E2 E3 IO/M A7 A5 Q0 D0 +5 V RD IOSELA6 OE A4 A3 D1 D7