SlideShare a Scribd company logo
By-
suneel kumar
Presentation on – embedded
system,microcontroller
8051,8086,8085
Date
24-07-2018
embedded system
•A combination of hardware and software which together
form a component of a larger machine.
•An example of an embedded system is a microprocessor
that controls an automobile engine.
•An embedded system is designed to run on its own without
human intervention, and may be required to respond to
events in real time.
User interface
• Embedded systems range from no user
interface at all, in systems dedicated only to one
task, to complex graphical user interfaces that
resemble modern computer desktop operating
systems. Simple embedded devices
use buttons, LED, graphic or charcter LCD
Processors in embedded systems
• Embedded processors can be broken into two
broad categories. Ordinary microprocessors
(μP) use separate integrated circuits for memory
and peripherals. Microcontrollers (μC) have on-
chip peripherals, thus reducing power
consumption, size and cost. In contrast to the
personal computer market, many different
basic CPU architectures are used since software
is custom-developed for an application and is
not a commodity product installed by the end
user.
8051 Microcontroller
The Intel 8051 microcontroller is one of the most
popular general purpose microcontrollers in use
today. The success of the Intel 8051 spawned a
number of clones, which are collectively referred
to as the MCS-51 family of microcontrollers
Some of the features that have made the
8051
• 4 KB on chip program memory.
• 128 bytes on chip data memory(RAM)
– 32 bytes devoted to register banks
– 16 bytes of bit-addressable memory
– 80 bytes of general-purpose memor
• 128 user defined software flags.
• 8-bit data bus
• 16-bit address bus
• 16 bit timers (usually 2, but may have more, or
less).
• 3 internal and 2 external interrupts
• PIN 9: PIN 9 is the reset pin which is used to reset the
microcontroller’s internal registers and ports upon
starting up. (Pin should be held high for 2 machine
cycles.)
• PINS 18 & 19: The 8051 has a built-in oscillator
amplifier hence we need to only connect a crystal at
these pins to provide clock pulses to the circuit.
• PIN 40 and 20: Pins 40 and 20 are VCC and ground
respectively. The 8051 chip needs +5V 500mA to
function properly, although there are lower powered
versions like the Atmel 2051 which is a scaled down
version of the 8051 which runs on +3V
• PINS 29, 30 & 31: As described in the features of the
8051, this chip contains a built-in flash memory. In
order to program this we need to supply a voltage of
+12V at pin 31.
• Pin 29: If we uses an external ROM then it should
have a logic 0 which indicates Micro controller to read
data from memory.
• Pin 30: This Pin is used for ALE that is Address Latch
Enable. If we use multiple memory chips then this pin
is used to distinguish between them.It is activated
periodically with a constant rate of 1/6th of oscillator
frequency. This Pin also gives program pulse input
during programming of EPROM.
• Pin 31: If we have to use multiple memories then by
applying logic 1 to this pin instructs Micro controller to
read data from both memories first internal and
afterwards external.
• PORT P3 (Pins 10 to 17): PORT P3 acts as a normal
IO port, but Port P3 has additional functions such as,
serial transmit and receive pins, 2 external interrupt
pins, 2 external counter inputs, read and write pins for
memory access.
• PORT P2 (pins 21 to 28): PORT P2 can also be used
as a general purpose 8 bit port when no external
memory is present, but if external memory access is
required then PORT P2 will act as an address bus in
conjunction with PORT P0 to access external memory.
PORT P2 acts as A8-A15, as can be seen from fig 1.1
• PORT P0 (pins 32 to 39) PORT P0 can be used as a
general purpose 8 bit port when no external memory is
present, but if external memory acces
Microprocessor - 8086
• 8086 Microprocessor is an enhanced version of
8085Microprocessor that was designed by Intel
in 1976. It is a 16-bit Microprocessor having 20
address lines and16 data lines that provides up
to 1MB storage. It consists of powerful
instruction set, which provides operations like
multiplication and division easily.
• It supports two modes of operation, i.e.
Maximum mode and Minimum mode. Maximum
mode is suitable for system having multiple
processors and Minimum mode is suitable for
system having a single processor.
Architecture of 8086
• Execution unit gives instructions to BIU stating from
where to fetch the data and then decode and
execute those instructions. Its function is to control
operations on data using the instruction decoder &
ALU. EU has no direct connection with system
EU (Execution Unit)
ALU
It handles all arithmetic and logical operations, like
+, −, ×, /, OR, AND, NOT operations.
Flag Register
It is a 16-bit register that behaves like a flip-flop,
i.e. it changes its status according to the result
stored in the accumulator. It has 9 flags and they
are divided into 2 groups − Conditional Flags and
Conditional Flags
It represents the result of the last arithmetic or logical
instruction executed. Following is the list of conditional flags
−
Carry flag − This flag indicates an overflow condition for
arithmetic operations.
Auxiliary flag − When an operation is performed at ALU, it
results in a carry/barrow from lower nibble (i.e. D0 – D3) to
upper nibble (i.e. D4 – D7), then this flag is set, i.e. carry
given by D3 bit to D4 is AF flag. The processor uses this flag
to perform binary to BCD conversion.
Parity flag − This flag is used to indicate the parity of the
result, i.e. when the lower order 8-bits of the result contains
even number of 1’s, then the Parity Flag is set. For odd
number of 1’s, the Parity Flag is reset.
Zero flag − This flag is set to 1 when the result of arithmetic
or logical operation is zero else it is set to 0.
• Sign flag − This flag holds the sign of the result, i.e.
when the result of the operation is negative, then the
sign flag is set to 1 else set to 0.
• Overflow flag − This flag represents the result when
the system capacity is exceeded.
• Control Flags
• Control flags controls the operations of the execution
unit. Following is the list of control flags −
• Trap flag − It is used for single step control and allows
the user to execute one instruction at a time for
debugging. If it is set, then the program can be run in
a single step mode
• Interrupt flag − It is an interrupt enable/disable flag, i.e.
used to allow/prohibit the interruption of a program. It
is set to 1 for interrupt enabled condition and set to 0
for interrupt disabled condition.
• Direction flag − It is used in string operation. As the
name suggests when it is set then string bytes are
accessed from the higher memory address to the
lower memory address and vice-a-versa.
• General purpose register
• There are 8 general purpose registers, i.e., AH, AL,
BH, BL, CH, CL, DH, and DL. These registers can be
used individually to store 8-bit data and can be used in
pairs to store 16bit data.
• AX register − It is also known as accumulator register.
It is used to store operands for arithmetic operations.
• BX register − It is used as a base register. It is used to
store the starting base address of the memory area
within the data segment.
• CX register − It is referred to as counter. It is used in
loop instruction to store the loop counter.
• DX register − This register is used to hold I/O port
address for I/O instruction
• BIU (Bus Interface Unit)
• BIU takes care of all data and addresses transfers on
the buses for the EU like sending addresses, fetching
instructions from the memory, reading data from the
ports and the memory as well as writing data to the
ports and the memory. EU has no direction connection
with System Buses so this is possible with the BIU. EU
and BIU are connected with the Internal Bus
• Instruction queue − BIU contains the instruction
queue. BIU gets upto 6 bytes of next instructions and
stores them in the instruction queue. When EU
executes instructions and is ready for its next
instruction, then it simply reads the instruction from
this instruction queue resulting in increased execution
speed.
• Segment register − BIU has 4 segment buses, i.e.
CS, DS, SS& ES. It holds the addresses of
instructions and data in memory, which are used by
the processor to access memory locations. It also
contains 1 pointer register IP, which holds the address
of the next instruction to executed by the EU.
• Instruction pointer − It is a 16-bit register used to
hold the address of the next instruction to be executed
Thank you

More Related Content

What's hot

Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
RamaPrabha24
 
The microprocessor and it's architecture
The microprocessor and it's architectureThe microprocessor and it's architecture
The microprocessor and it's architecture
samaa ali
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
deval patel
 
8085 microprocessor architecture ppt
8085 microprocessor architecture ppt8085 microprocessor architecture ppt
8085 microprocessor architecture pptParvesh Gautam
 
EE8551 MPMC
EE8551  MPMCEE8551  MPMC
EE8551 MPMC
rmkceteee
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 complete
Shubham Singh
 
20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes
Manikanteswar Madala
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
AMAN SRIVASTAVA
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
Prof. Dr. K. Adisesha
 
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085
muneer.k
 
Unit 1 MPMC
Unit 1 MPMCUnit 1 MPMC
Unit 1 MPMC
tamilnesaner
 
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
RamaPrabha24
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
Neelam Kapoor
 
8085 microprocessor
8085 microprocessor8085 microprocessor
Microprocessor 8085 Chapter 3
Microprocessor 8085 Chapter 3Microprocessor 8085 Chapter 3
Microprocessor 8085 Chapter 3
Rishikesh Bhavsar
 
Computer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notesComputer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notes
Lakshmi Sarvani Videla
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
Ravi Anand
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
Apar Pramod
 
microcontroller-8051-ppt(1)
microcontroller-8051-ppt(1)microcontroller-8051-ppt(1)
microcontroller-8051-ppt(1)
jhcid
 

What's hot (20)

Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 
The microprocessor and it's architecture
The microprocessor and it's architectureThe microprocessor and it's architecture
The microprocessor and it's architecture
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
8085 microprocessor architecture ppt
8085 microprocessor architecture ppt8085 microprocessor architecture ppt
8085 microprocessor architecture ppt
 
EE8551 MPMC
EE8551  MPMCEE8551  MPMC
EE8551 MPMC
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 complete
 
20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
 
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085
 
Unit 1 MPMC
Unit 1 MPMCUnit 1 MPMC
Unit 1 MPMC
 
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
 
Introduction
Introduction Introduction
Introduction
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
Microprocessor 8085 Chapter 3
Microprocessor 8085 Chapter 3Microprocessor 8085 Chapter 3
Microprocessor 8085 Chapter 3
 
Computer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notesComputer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notes
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
microcontroller-8051-ppt(1)
microcontroller-8051-ppt(1)microcontroller-8051-ppt(1)
microcontroller-8051-ppt(1)
 

Similar to Embeded system

20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notesRavali Sunki
 
Embedded systems ppt i
Embedded systems ppt iEmbedded systems ppt i
Embedded systems ppt i
anishgoel
 
MICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSMICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSSabin Gautam
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
Aanjaney Singh Chauhan
 
Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor
Mrunal Deshkar
 
8051 microcontroller
8051 microcontroller 8051 microcontroller
8051 microcontroller
nitugatkal
 
Mpmc unit 1 notes
Mpmc unit 1 notesMpmc unit 1 notes
Mpmc unit 1 notes
pavihari
 
microprocessor8085 power point presentation
microprocessor8085 power point presentationmicroprocessor8085 power point presentation
microprocessor8085 power point presentation
rohitkuarm5667
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
HarshitParkar6677
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
HarshitParkar6677
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
ganeshbehera6
 
Microprocessors
MicroprocessorsMicroprocessors
Microprocessors
Navya Sethu
 
Microcontroller Electronics Engineering Sem 4MODULE 1.pptx
Microcontroller Electronics Engineering Sem 4MODULE 1.pptxMicrocontroller Electronics Engineering Sem 4MODULE 1.pptx
Microcontroller Electronics Engineering Sem 4MODULE 1.pptx
itsmeaswin03
 
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering studentsEMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
eceprinter6
 
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
Arti Parab Academics
 
architect.ppt
architect.pptarchitect.ppt
architect.ppt
SELVAPRIYAA2
 
Microcontroller presentation
Microcontroller presentationMicrocontroller presentation
Microcontroller presentation
xavierpaulino
 
Study of 8051 microcontroller
Study of 8051 microcontrollerStudy of 8051 microcontroller
Study of 8051 microcontroller
918007165995
 
8051 Architecture
8051 Architecture8051 Architecture
8051 Architecture
ShinuMMAEI
 

Similar to Embeded system (20)

20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes
 
Embedded systems ppt i
Embedded systems ppt iEmbedded systems ppt i
Embedded systems ppt i
 
MICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSMICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMS
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor
 
12 mt06ped001
12 mt06ped001 12 mt06ped001
12 mt06ped001
 
8051 microcontroller
8051 microcontroller 8051 microcontroller
8051 microcontroller
 
Mpmc unit 1 notes
Mpmc unit 1 notesMpmc unit 1 notes
Mpmc unit 1 notes
 
microprocessor8085 power point presentation
microprocessor8085 power point presentationmicroprocessor8085 power point presentation
microprocessor8085 power point presentation
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
 
Microprocessors
MicroprocessorsMicroprocessors
Microprocessors
 
Microcontroller Electronics Engineering Sem 4MODULE 1.pptx
Microcontroller Electronics Engineering Sem 4MODULE 1.pptxMicrocontroller Electronics Engineering Sem 4MODULE 1.pptx
Microcontroller Electronics Engineering Sem 4MODULE 1.pptx
 
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering studentsEMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
 
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
 
architect.ppt
architect.pptarchitect.ppt
architect.ppt
 
Microcontroller presentation
Microcontroller presentationMicrocontroller presentation
Microcontroller presentation
 
Study of 8051 microcontroller
Study of 8051 microcontrollerStudy of 8051 microcontroller
Study of 8051 microcontroller
 
8051 Architecture
8051 Architecture8051 Architecture
8051 Architecture
 

More from SUneel Gupta

Transistor s06
Transistor s06Transistor s06
Transistor s06
SUneel Gupta
 
Transformer
TransformerTransformer
Transformer
SUneel Gupta
 
Solar energy presentation 0220
Solar energy presentation 0220Solar energy presentation 0220
Solar energy presentation 0220
SUneel Gupta
 
Semiconductors
SemiconductorsSemiconductors
Semiconductors
SUneel Gupta
 
NDT and DT
NDT and DTNDT and DT
NDT and DT
SUneel Gupta
 
Quality presentation
Quality presentationQuality presentation
Quality presentation
SUneel Gupta
 
Intro to maintenance
Intro to maintenanceIntro to maintenance
Intro to maintenance
SUneel Gupta
 
Integrated circuits
Integrated circuitsIntegrated circuits
Integrated circuits
SUneel Gupta
 
Diodes
DiodesDiodes
Diodes
SUneel Gupta
 
Capacitors
CapacitorsCapacitors
Capacitors
SUneel Gupta
 
Active and passive
Active and passiveActive and passive
Active and passive
SUneel Gupta
 

More from SUneel Gupta (12)

Transistor s06
Transistor s06Transistor s06
Transistor s06
 
Transformer
TransformerTransformer
Transformer
 
Solar energy presentation 0220
Solar energy presentation 0220Solar energy presentation 0220
Solar energy presentation 0220
 
Semiconductors
SemiconductorsSemiconductors
Semiconductors
 
PCB
PCBPCB
PCB
 
NDT and DT
NDT and DTNDT and DT
NDT and DT
 
Quality presentation
Quality presentationQuality presentation
Quality presentation
 
Intro to maintenance
Intro to maintenanceIntro to maintenance
Intro to maintenance
 
Integrated circuits
Integrated circuitsIntegrated circuits
Integrated circuits
 
Diodes
DiodesDiodes
Diodes
 
Capacitors
CapacitorsCapacitors
Capacitors
 
Active and passive
Active and passiveActive and passive
Active and passive
 

Recently uploaded

132. Acta Scientific Pharmaceutical Sciences
132. Acta Scientific Pharmaceutical Sciences132. Acta Scientific Pharmaceutical Sciences
132. Acta Scientific Pharmaceutical Sciences
Manu Mitra
 
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
foismail170
 
How to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and BusinessHow to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and Business
ideatoipo
 
My Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya WestrinMy Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya Westrin
AlinaseFaith
 
Full Sail_Morales_Michael_SMM_2024-05.pptx
Full Sail_Morales_Michael_SMM_2024-05.pptxFull Sail_Morales_Michael_SMM_2024-05.pptx
Full Sail_Morales_Michael_SMM_2024-05.pptx
mmorales2173
 
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
foismail170
 
Personal Brand Exploration Comedy Jxnelle.
Personal Brand Exploration Comedy Jxnelle.Personal Brand Exploration Comedy Jxnelle.
Personal Brand Exploration Comedy Jxnelle.
alexthomas971
 
Personal Brand exploration KE.pdf for assignment
Personal Brand exploration KE.pdf for assignmentPersonal Brand exploration KE.pdf for assignment
Personal Brand exploration KE.pdf for assignment
ragingokie
 
DIGITAL MARKETING COURSE IN CHENNAI.pptx
DIGITAL MARKETING COURSE IN CHENNAI.pptxDIGITAL MARKETING COURSE IN CHENNAI.pptx
DIGITAL MARKETING COURSE IN CHENNAI.pptx
FarzanaRbcomcs
 
How Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
How Mentoring Elevates Your PM Career | PMI Silver Spring ChapterHow Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
How Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
Hector Del Castillo, CPM, CPMM
 
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdfDr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam
 
133. Reviewer Certificate in Advances in Research
133. Reviewer Certificate in Advances in Research133. Reviewer Certificate in Advances in Research
133. Reviewer Certificate in Advances in Research
Manu Mitra
 
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
gobogo3542
 
Brand Identity For A Sportscaster Project and Portfolio I
Brand Identity For A Sportscaster Project and Portfolio IBrand Identity For A Sportscaster Project and Portfolio I
Brand Identity For A Sportscaster Project and Portfolio I
thomasaolson2000
 
New Explore Careers and College Majors 2024.pdf
New Explore Careers and College Majors 2024.pdfNew Explore Careers and College Majors 2024.pdf
New Explore Careers and College Majors 2024.pdf
Dr. Mary Askew
 
How to create an effective K-POC tutorial
How to create an effective K-POC tutorialHow to create an effective K-POC tutorial
How to create an effective K-POC tutorial
vencislavkaaa
 
Widal Agglutination Test: A rapid serological diagnosis of typhoid fever
Widal Agglutination Test: A rapid serological diagnosis of typhoid feverWidal Agglutination Test: A rapid serological diagnosis of typhoid fever
Widal Agglutination Test: A rapid serological diagnosis of typhoid fever
taexnic
 
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
foismail170
 
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
Chapters 3  Contracts.pptx Chapters 3  Contracts.pptxChapters 3  Contracts.pptx Chapters 3  Contracts.pptx
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
Sheldon Byron
 
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Dirk Spencer Corporate Recruiter LION
 

Recently uploaded (20)

132. Acta Scientific Pharmaceutical Sciences
132. Acta Scientific Pharmaceutical Sciences132. Acta Scientific Pharmaceutical Sciences
132. Acta Scientific Pharmaceutical Sciences
 
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
 
How to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and BusinessHow to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and Business
 
My Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya WestrinMy Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya Westrin
 
Full Sail_Morales_Michael_SMM_2024-05.pptx
Full Sail_Morales_Michael_SMM_2024-05.pptxFull Sail_Morales_Michael_SMM_2024-05.pptx
Full Sail_Morales_Michael_SMM_2024-05.pptx
 
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
 
Personal Brand Exploration Comedy Jxnelle.
Personal Brand Exploration Comedy Jxnelle.Personal Brand Exploration Comedy Jxnelle.
Personal Brand Exploration Comedy Jxnelle.
 
Personal Brand exploration KE.pdf for assignment
Personal Brand exploration KE.pdf for assignmentPersonal Brand exploration KE.pdf for assignment
Personal Brand exploration KE.pdf for assignment
 
DIGITAL MARKETING COURSE IN CHENNAI.pptx
DIGITAL MARKETING COURSE IN CHENNAI.pptxDIGITAL MARKETING COURSE IN CHENNAI.pptx
DIGITAL MARKETING COURSE IN CHENNAI.pptx
 
How Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
How Mentoring Elevates Your PM Career | PMI Silver Spring ChapterHow Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
How Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
 
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdfDr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
 
133. Reviewer Certificate in Advances in Research
133. Reviewer Certificate in Advances in Research133. Reviewer Certificate in Advances in Research
133. Reviewer Certificate in Advances in Research
 
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
 
Brand Identity For A Sportscaster Project and Portfolio I
Brand Identity For A Sportscaster Project and Portfolio IBrand Identity For A Sportscaster Project and Portfolio I
Brand Identity For A Sportscaster Project and Portfolio I
 
New Explore Careers and College Majors 2024.pdf
New Explore Careers and College Majors 2024.pdfNew Explore Careers and College Majors 2024.pdf
New Explore Careers and College Majors 2024.pdf
 
How to create an effective K-POC tutorial
How to create an effective K-POC tutorialHow to create an effective K-POC tutorial
How to create an effective K-POC tutorial
 
Widal Agglutination Test: A rapid serological diagnosis of typhoid fever
Widal Agglutination Test: A rapid serological diagnosis of typhoid feverWidal Agglutination Test: A rapid serological diagnosis of typhoid fever
Widal Agglutination Test: A rapid serological diagnosis of typhoid fever
 
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
 
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
Chapters 3  Contracts.pptx Chapters 3  Contracts.pptxChapters 3  Contracts.pptx Chapters 3  Contracts.pptx
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
 
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
 

Embeded system

  • 1. By- suneel kumar Presentation on – embedded system,microcontroller 8051,8086,8085 Date 24-07-2018
  • 2. embedded system •A combination of hardware and software which together form a component of a larger machine. •An example of an embedded system is a microprocessor that controls an automobile engine. •An embedded system is designed to run on its own without human intervention, and may be required to respond to events in real time.
  • 3.
  • 4.
  • 5.
  • 6. User interface • Embedded systems range from no user interface at all, in systems dedicated only to one task, to complex graphical user interfaces that resemble modern computer desktop operating systems. Simple embedded devices use buttons, LED, graphic or charcter LCD
  • 7. Processors in embedded systems • Embedded processors can be broken into two broad categories. Ordinary microprocessors (μP) use separate integrated circuits for memory and peripherals. Microcontrollers (μC) have on- chip peripherals, thus reducing power consumption, size and cost. In contrast to the personal computer market, many different basic CPU architectures are used since software is custom-developed for an application and is not a commodity product installed by the end user.
  • 8. 8051 Microcontroller The Intel 8051 microcontroller is one of the most popular general purpose microcontrollers in use today. The success of the Intel 8051 spawned a number of clones, which are collectively referred to as the MCS-51 family of microcontrollers
  • 9. Some of the features that have made the 8051 • 4 KB on chip program memory. • 128 bytes on chip data memory(RAM) – 32 bytes devoted to register banks – 16 bytes of bit-addressable memory – 80 bytes of general-purpose memor • 128 user defined software flags. • 8-bit data bus • 16-bit address bus • 16 bit timers (usually 2, but may have more, or less). • 3 internal and 2 external interrupts
  • 10.
  • 11. • PIN 9: PIN 9 is the reset pin which is used to reset the microcontroller’s internal registers and ports upon starting up. (Pin should be held high for 2 machine cycles.) • PINS 18 & 19: The 8051 has a built-in oscillator amplifier hence we need to only connect a crystal at these pins to provide clock pulses to the circuit. • PIN 40 and 20: Pins 40 and 20 are VCC and ground respectively. The 8051 chip needs +5V 500mA to function properly, although there are lower powered versions like the Atmel 2051 which is a scaled down version of the 8051 which runs on +3V • PINS 29, 30 & 31: As described in the features of the 8051, this chip contains a built-in flash memory. In order to program this we need to supply a voltage of +12V at pin 31.
  • 12. • Pin 29: If we uses an external ROM then it should have a logic 0 which indicates Micro controller to read data from memory. • Pin 30: This Pin is used for ALE that is Address Latch Enable. If we use multiple memory chips then this pin is used to distinguish between them.It is activated periodically with a constant rate of 1/6th of oscillator frequency. This Pin also gives program pulse input during programming of EPROM. • Pin 31: If we have to use multiple memories then by applying logic 1 to this pin instructs Micro controller to read data from both memories first internal and afterwards external.
  • 13. • PORT P3 (Pins 10 to 17): PORT P3 acts as a normal IO port, but Port P3 has additional functions such as, serial transmit and receive pins, 2 external interrupt pins, 2 external counter inputs, read and write pins for memory access. • PORT P2 (pins 21 to 28): PORT P2 can also be used as a general purpose 8 bit port when no external memory is present, but if external memory access is required then PORT P2 will act as an address bus in conjunction with PORT P0 to access external memory. PORT P2 acts as A8-A15, as can be seen from fig 1.1 • PORT P0 (pins 32 to 39) PORT P0 can be used as a general purpose 8 bit port when no external memory is present, but if external memory acces
  • 14. Microprocessor - 8086 • 8086 Microprocessor is an enhanced version of 8085Microprocessor that was designed by Intel in 1976. It is a 16-bit Microprocessor having 20 address lines and16 data lines that provides up to 1MB storage. It consists of powerful instruction set, which provides operations like multiplication and division easily. • It supports two modes of operation, i.e. Maximum mode and Minimum mode. Maximum mode is suitable for system having multiple processors and Minimum mode is suitable for system having a single processor.
  • 15.
  • 17. • Execution unit gives instructions to BIU stating from where to fetch the data and then decode and execute those instructions. Its function is to control operations on data using the instruction decoder & ALU. EU has no direct connection with system EU (Execution Unit) ALU It handles all arithmetic and logical operations, like +, −, ×, /, OR, AND, NOT operations. Flag Register It is a 16-bit register that behaves like a flip-flop, i.e. it changes its status according to the result stored in the accumulator. It has 9 flags and they are divided into 2 groups − Conditional Flags and
  • 18. Conditional Flags It represents the result of the last arithmetic or logical instruction executed. Following is the list of conditional flags − Carry flag − This flag indicates an overflow condition for arithmetic operations. Auxiliary flag − When an operation is performed at ALU, it results in a carry/barrow from lower nibble (i.e. D0 – D3) to upper nibble (i.e. D4 – D7), then this flag is set, i.e. carry given by D3 bit to D4 is AF flag. The processor uses this flag to perform binary to BCD conversion. Parity flag − This flag is used to indicate the parity of the result, i.e. when the lower order 8-bits of the result contains even number of 1’s, then the Parity Flag is set. For odd number of 1’s, the Parity Flag is reset. Zero flag − This flag is set to 1 when the result of arithmetic or logical operation is zero else it is set to 0.
  • 19. • Sign flag − This flag holds the sign of the result, i.e. when the result of the operation is negative, then the sign flag is set to 1 else set to 0. • Overflow flag − This flag represents the result when the system capacity is exceeded.
  • 20. • Control Flags • Control flags controls the operations of the execution unit. Following is the list of control flags − • Trap flag − It is used for single step control and allows the user to execute one instruction at a time for debugging. If it is set, then the program can be run in a single step mode • Interrupt flag − It is an interrupt enable/disable flag, i.e. used to allow/prohibit the interruption of a program. It is set to 1 for interrupt enabled condition and set to 0 for interrupt disabled condition. • Direction flag − It is used in string operation. As the name suggests when it is set then string bytes are accessed from the higher memory address to the lower memory address and vice-a-versa.
  • 21. • General purpose register • There are 8 general purpose registers, i.e., AH, AL, BH, BL, CH, CL, DH, and DL. These registers can be used individually to store 8-bit data and can be used in pairs to store 16bit data. • AX register − It is also known as accumulator register. It is used to store operands for arithmetic operations. • BX register − It is used as a base register. It is used to store the starting base address of the memory area within the data segment. • CX register − It is referred to as counter. It is used in loop instruction to store the loop counter. • DX register − This register is used to hold I/O port address for I/O instruction
  • 22. • BIU (Bus Interface Unit) • BIU takes care of all data and addresses transfers on the buses for the EU like sending addresses, fetching instructions from the memory, reading data from the ports and the memory as well as writing data to the ports and the memory. EU has no direction connection with System Buses so this is possible with the BIU. EU and BIU are connected with the Internal Bus • Instruction queue − BIU contains the instruction queue. BIU gets upto 6 bytes of next instructions and stores them in the instruction queue. When EU executes instructions and is ready for its next instruction, then it simply reads the instruction from this instruction queue resulting in increased execution speed.
  • 23. • Segment register − BIU has 4 segment buses, i.e. CS, DS, SS& ES. It holds the addresses of instructions and data in memory, which are used by the processor to access memory locations. It also contains 1 pointer register IP, which holds the address of the next instruction to executed by the EU. • Instruction pointer − It is a 16-bit register used to hold the address of the next instruction to be executed