SlideShare a Scribd company logo
1 of 4
Download to read offline
An alarm system is to have 4 different devices, each with its sensor. One of the sensors is to
have interrupt address 83. Show and explain how that address is created using switches and how
the INTA signal is used to enable a tri-state buffer/driver to place the address on the data lines.
IX. On the 82C55 Parallel Programmable interface, the Control Port has the address ffffh. The
control word 81h will program the lower-C-port as input and the upper-C port as output. (We
don't care about the other ports). The address of the C-port is fffdh. Write a program to perform
as follows: Address the Control Port and program the C-port as given above. Read from the
lower-C port. Add 5 to the number that is read. Output the number read to the upper-C port.
Return to step c. (The program will continue until operator intervention).
Solution
In the previous articles we saw about the architecture of 8085 microprocessor. Now we have a
rough idea about how the instructions, data's are transferred and processed in 8085
microprocessor. In this article let us discuss in detail about the various signals involved in
transferring data and executing instructions in microprocessor.
The various signals in a microprocessor can be classified as
Power supply and Frequency signals: Signals which aids in supplying power and generating
frequency are associated with this type. Pins like Vcc and ground are classified under this type.
Address signals: Signals associated with the lower order address bus and time multiplexed higher
order address bus comes under this type of signals.
Data Signals: Signals associated with data bus comes under this type.
Control and Status Signals: Signals which are associated with timing and control unit such
HOLD, RW’, WR’ etc. comes under this type of signals.
Interrupt Signals: We know that signals like TRAP, RST 5.5 etc. are interrupt signals. Such
signals come under this category.
Serial I/O signals: These signals are used for giving serial input and output data. Signals like
SID, SOD come under this category.
Acknowledgement Signals: Signals like INTA’, HLDA acts as acknowledgement signal for 8085
microprocessor.
Address Bus:
The pins A8-A15 denote the address bus. They are used for the most significant bit of memory
address.
Address/Data Bus:
AD0-AD7 constitutes the Address/Data bus. They are time multiplexed. These pins are used for
least significant bits of address bus in the first machine clock cycle and used as data bus for
second and third clock cycle.
But what is a clock cycle? What is first clock cycle and second, third so on...
A clock cycle is nothing but the time taken between two adjacent pulses of the oscillator. In
simple words clock cycle refers to the transition between o volts to 5 volts and back to 0 volts.
So the first clock cycle means the first transition of pulse from 0volts to 5 volts and then back to
0 volts.
ALE: Address Latch Enable:
In the previous article we saw how ALE helps in demultiplexing the lower order address and
data bus. This signal goes high during the first clock cycle and enables the lower order address
bits. The lower order address bus is added to memory or any external latch.
IO/M’:
Consider we have an address to be processed. But how do the processors know whether the
address is for memory or I/O functions? For this purpose a status signal called IO/M’ is used.
This distinguishes whether the address is for memory or IO. When this pin goes high, the address
is for an I/O device. While the pin goes low, the address is assigned for the memory.
S0-S1:
S0 and S1 are status signals which provides different status and functions depending on their
status.
RD’:
This is an active low signal. That is, an operation is performed when the signal goes low. This
signal is used to control READ operation of the microprocessor. When this pin goes low the
microprocessor reads the data from memory or I/O device.
WR’:
WR’ is also an active low signal which controls the write operations of the microprocessor.
When this pin goes low, the data is written to the memory or I/O device.
READY:
READY is used by the microprocessor to check whether a peripheral is ready to accept or
transfer data. A peripheral may be a LCD display or analog to digital converter or any other.
These peripherals are connected to microprocessor using the READY pin. If READY is high
then the periphery is ready for data transfer. If not the microprocessor waits until READY goes
high.
HOLD:
This indicates if any other device is requesting the use of address and data bus. Consider two
peripheral devices. One is the LCD and the other Analog to Digital converter. Suppose if analog
to digital converter is using the address and data bus and if LCD requests the use of address and
data bus by giving HOLD signal, then the microprocessor transfers the control to the LCD as
soon as the current cycle is over. After the LCD process is over, the control is transferred back to
analog and digital converter.
HLDA:
HLDA is the acknowledgment signal for HOLD. It indicates whether the HOLD signal is
received or not. After the execution of HOLD request, HLDA goes low.
INTR:
INTR is an interrupt request signal. It has the lowest priority among the interrupts. INTR can be
enabled or disabled by using software. Whenever INTR goes high the microprocessor completes
the current instruction which is being executed and then acknowledges the INTR signal and
processes it.
INTA’:
Whenever the microprocessor receives interrupt signal. It has to be acknowledged. This
acknowledgement is done by INTA’. So whenever the interrupt is received INTA’ goes high.
RST 5.5, 6.5, 7.5:
These are nothing but the restart interrupts. They insert an internal restart function automatically.
All the above mentioned interrupts are maskable interrupts. That is, they can be enabled or
disabled using programs.
TRAP:
Among the interrupts of 8085 microprocessor, TRAP is the only non-maskable interrupt. It
cannot be enabled or disabled using a program. It has the highest priority among the interrupts.
PRIORITY ORDER (From highest to lowest)
TRAP
RST 7.5
RST 6.5
RST 5.5
INTR
RESET IN’:
This pin resets the program counter to 0 and resets interrupt enable and HLDA flip-flops. The
CPU is held in reset condition until this pin is high. However the flags and registers won’t get
affected except for instruction register.
RESET OUT:
This pin indicates that the CPU has been reset by RESET IN’.
X1 X2:
These are the terminals which are connected to external oscillator to produce the necessary and
suitable clock operation.
CLK:
Sometimes it is necessary for generating clock outputs from microprocessors so that they can be
used for other peripherals or other digital IC’s. This is provided by CLK pin. Its frequency is
always same as the frequency at which the microprocessor operates.
SID:
This pin provides serial input data. The serial data on this pin is loaded into the seventh bit of the
accumulator when RIM instruction is executed.
RIM stands for READ INTERRUPT MASK, which checks whether the interrupt is masked or
not.
SOD:
This pin provides the serial output data. The serial data on this pin delivers its output to the
seventh bit of the accumulator when SIM instruction is executed.
Vcc and Vss:
Vcc is +5v pin and Vss is ground pin.
Thus the pin diagram and signals of 8085 microprocessor are explained in detail.

More Related Content

Similar to An alarm system is to have 4 different devices, each with its sensor..pdf

Similar to An alarm system is to have 4 different devices, each with its sensor..pdf (20)

Microprocessor and Microcontroller lec5
Microprocessor and Microcontroller lec5Microprocessor and Microcontroller lec5
Microprocessor and Microcontroller lec5
 
8085 (1)
8085 (1)8085 (1)
8085 (1)
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
PINDIAGRAM OF 8085 MICROPROCESSOR
PINDIAGRAM OF 8085 MICROPROCESSORPINDIAGRAM OF 8085 MICROPROCESSOR
PINDIAGRAM OF 8085 MICROPROCESSOR
 
PPT-1.pptx
PPT-1.pptxPPT-1.pptx
PPT-1.pptx
 
PPT-1.pptx
PPT-1.pptxPPT-1.pptx
PPT-1.pptx
 
c++
c++ c++
c++
 
T-states in microprocessor 8085
T-states in microprocessor 8085T-states in microprocessor 8085
T-states in microprocessor 8085
 
Z80 microprocessor architecture1
Z80 microprocessor architecture1Z80 microprocessor architecture1
Z80 microprocessor architecture1
 
Mpmc
MpmcMpmc
Mpmc
 
Microprocessor and microcontroller
Microprocessor and microcontrollerMicroprocessor and microcontroller
Microprocessor and microcontroller
 
Embedded System
Embedded SystemEmbedded System
Embedded System
 
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
 
Important questions
Important questionsImportant questions
Important questions
 
8085 Pin Configuration
8085 Pin Configuration8085 Pin Configuration
8085 Pin Configuration
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
 
Pin8086
Pin8086Pin8086
Pin8086
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
 
Important questions
Important questionsImportant questions
Important questions
 

More from leventhalbrad49439

Which of the following are true when comparing TCPIP to the OSI Ref.pdf
Which of the following are true when comparing TCPIP to the OSI Ref.pdfWhich of the following are true when comparing TCPIP to the OSI Ref.pdf
Which of the following are true when comparing TCPIP to the OSI Ref.pdfleventhalbrad49439
 
What is the reason for having most of the blood volume distributed w.pdf
What is the reason for having most of the blood volume distributed w.pdfWhat is the reason for having most of the blood volume distributed w.pdf
What is the reason for having most of the blood volume distributed w.pdfleventhalbrad49439
 
What is eutectic reaction What is eutectoid reaction What is perife.pdf
What is eutectic reaction What is eutectoid reaction What is perife.pdfWhat is eutectic reaction What is eutectoid reaction What is perife.pdf
What is eutectic reaction What is eutectoid reaction What is perife.pdfleventhalbrad49439
 
What are the possible types of interfund transactions What are.pdf
What are the possible types of interfund transactions What are.pdfWhat are the possible types of interfund transactions What are.pdf
What are the possible types of interfund transactions What are.pdfleventhalbrad49439
 
What are Sociocultural issues when it come to body imageSolutio.pdf
What are Sociocultural issues when it come to body imageSolutio.pdfWhat are Sociocultural issues when it come to body imageSolutio.pdf
What are Sociocultural issues when it come to body imageSolutio.pdfleventhalbrad49439
 
Water can absorb and store a large amount of heat while increasing on.pdf
Water can absorb and store a large amount of heat while increasing on.pdfWater can absorb and store a large amount of heat while increasing on.pdf
Water can absorb and store a large amount of heat while increasing on.pdfleventhalbrad49439
 
True or false1 Anabolism results in increased production of biomas.pdf
True or false1 Anabolism results in increased production of biomas.pdfTrue or false1 Anabolism results in increased production of biomas.pdf
True or false1 Anabolism results in increased production of biomas.pdfleventhalbrad49439
 
The diploid number of the hypothetical animal Geneticus introductus .pdf
The diploid number of the hypothetical animal Geneticus introductus .pdfThe diploid number of the hypothetical animal Geneticus introductus .pdf
The diploid number of the hypothetical animal Geneticus introductus .pdfleventhalbrad49439
 
The Antoine equation often is used to describe vapor pressures lnP .pdf
The Antoine equation often is used to describe vapor pressures lnP .pdfThe Antoine equation often is used to describe vapor pressures lnP .pdf
The Antoine equation often is used to describe vapor pressures lnP .pdfleventhalbrad49439
 
The converson of the English to Christianity began a rich period of .pdf
The converson of the English to Christianity began a rich period of .pdfThe converson of the English to Christianity began a rich period of .pdf
The converson of the English to Christianity began a rich period of .pdfleventhalbrad49439
 
Table 19. Highest Level of Type of organization germ layers .pdf
Table 19. Highest Level of Type of organization germ layers .pdfTable 19. Highest Level of Type of organization germ layers .pdf
Table 19. Highest Level of Type of organization germ layers .pdfleventhalbrad49439
 
Question 12 (5 points)The reason that mitosis can result in the pr.pdf
Question 12 (5 points)The reason that mitosis can result in the pr.pdfQuestion 12 (5 points)The reason that mitosis can result in the pr.pdf
Question 12 (5 points)The reason that mitosis can result in the pr.pdfleventhalbrad49439
 
peripheral circuit functions built-in to the HC12 microcontroller, t.pdf
peripheral circuit functions built-in to the HC12 microcontroller, t.pdfperipheral circuit functions built-in to the HC12 microcontroller, t.pdf
peripheral circuit functions built-in to the HC12 microcontroller, t.pdfleventhalbrad49439
 
Mendez Corporation has 10,000 shares of its $100 par value, 7 percen.pdf
Mendez Corporation has 10,000 shares of its $100 par value, 7 percen.pdfMendez Corporation has 10,000 shares of its $100 par value, 7 percen.pdf
Mendez Corporation has 10,000 shares of its $100 par value, 7 percen.pdfleventhalbrad49439
 
If the dpy-11 and unc-31 genes are linked on the same chromosome, how.pdf
If the dpy-11 and unc-31 genes are linked on the same chromosome, how.pdfIf the dpy-11 and unc-31 genes are linked on the same chromosome, how.pdf
If the dpy-11 and unc-31 genes are linked on the same chromosome, how.pdfleventhalbrad49439
 
How does a wave formation influence the resultant waveSolution.pdf
How does a wave formation influence the resultant waveSolution.pdfHow does a wave formation influence the resultant waveSolution.pdf
How does a wave formation influence the resultant waveSolution.pdfleventhalbrad49439
 
How are health services paid for Provide a definition for the term .pdf
How are health services paid for Provide a definition for the term .pdfHow are health services paid for Provide a definition for the term .pdf
How are health services paid for Provide a definition for the term .pdfleventhalbrad49439
 
Given the information regarding mitosis and meiosis, clearly and con.pdf
Given the information regarding mitosis and meiosis, clearly and con.pdfGiven the information regarding mitosis and meiosis, clearly and con.pdf
Given the information regarding mitosis and meiosis, clearly and con.pdfleventhalbrad49439
 
First, look to determine what is the earliest era that fossils have .pdf
First, look to determine what is the earliest era that fossils have .pdfFirst, look to determine what is the earliest era that fossils have .pdf
First, look to determine what is the earliest era that fossils have .pdfleventhalbrad49439
 
Figure out and write down a definition of a translation that does no.pdf
Figure out and write down a definition of a translation that does no.pdfFigure out and write down a definition of a translation that does no.pdf
Figure out and write down a definition of a translation that does no.pdfleventhalbrad49439
 

More from leventhalbrad49439 (20)

Which of the following are true when comparing TCPIP to the OSI Ref.pdf
Which of the following are true when comparing TCPIP to the OSI Ref.pdfWhich of the following are true when comparing TCPIP to the OSI Ref.pdf
Which of the following are true when comparing TCPIP to the OSI Ref.pdf
 
What is the reason for having most of the blood volume distributed w.pdf
What is the reason for having most of the blood volume distributed w.pdfWhat is the reason for having most of the blood volume distributed w.pdf
What is the reason for having most of the blood volume distributed w.pdf
 
What is eutectic reaction What is eutectoid reaction What is perife.pdf
What is eutectic reaction What is eutectoid reaction What is perife.pdfWhat is eutectic reaction What is eutectoid reaction What is perife.pdf
What is eutectic reaction What is eutectoid reaction What is perife.pdf
 
What are the possible types of interfund transactions What are.pdf
What are the possible types of interfund transactions What are.pdfWhat are the possible types of interfund transactions What are.pdf
What are the possible types of interfund transactions What are.pdf
 
What are Sociocultural issues when it come to body imageSolutio.pdf
What are Sociocultural issues when it come to body imageSolutio.pdfWhat are Sociocultural issues when it come to body imageSolutio.pdf
What are Sociocultural issues when it come to body imageSolutio.pdf
 
Water can absorb and store a large amount of heat while increasing on.pdf
Water can absorb and store a large amount of heat while increasing on.pdfWater can absorb and store a large amount of heat while increasing on.pdf
Water can absorb and store a large amount of heat while increasing on.pdf
 
True or false1 Anabolism results in increased production of biomas.pdf
True or false1 Anabolism results in increased production of biomas.pdfTrue or false1 Anabolism results in increased production of biomas.pdf
True or false1 Anabolism results in increased production of biomas.pdf
 
The diploid number of the hypothetical animal Geneticus introductus .pdf
The diploid number of the hypothetical animal Geneticus introductus .pdfThe diploid number of the hypothetical animal Geneticus introductus .pdf
The diploid number of the hypothetical animal Geneticus introductus .pdf
 
The Antoine equation often is used to describe vapor pressures lnP .pdf
The Antoine equation often is used to describe vapor pressures lnP .pdfThe Antoine equation often is used to describe vapor pressures lnP .pdf
The Antoine equation often is used to describe vapor pressures lnP .pdf
 
The converson of the English to Christianity began a rich period of .pdf
The converson of the English to Christianity began a rich period of .pdfThe converson of the English to Christianity began a rich period of .pdf
The converson of the English to Christianity began a rich period of .pdf
 
Table 19. Highest Level of Type of organization germ layers .pdf
Table 19. Highest Level of Type of organization germ layers .pdfTable 19. Highest Level of Type of organization germ layers .pdf
Table 19. Highest Level of Type of organization germ layers .pdf
 
Question 12 (5 points)The reason that mitosis can result in the pr.pdf
Question 12 (5 points)The reason that mitosis can result in the pr.pdfQuestion 12 (5 points)The reason that mitosis can result in the pr.pdf
Question 12 (5 points)The reason that mitosis can result in the pr.pdf
 
peripheral circuit functions built-in to the HC12 microcontroller, t.pdf
peripheral circuit functions built-in to the HC12 microcontroller, t.pdfperipheral circuit functions built-in to the HC12 microcontroller, t.pdf
peripheral circuit functions built-in to the HC12 microcontroller, t.pdf
 
Mendez Corporation has 10,000 shares of its $100 par value, 7 percen.pdf
Mendez Corporation has 10,000 shares of its $100 par value, 7 percen.pdfMendez Corporation has 10,000 shares of its $100 par value, 7 percen.pdf
Mendez Corporation has 10,000 shares of its $100 par value, 7 percen.pdf
 
If the dpy-11 and unc-31 genes are linked on the same chromosome, how.pdf
If the dpy-11 and unc-31 genes are linked on the same chromosome, how.pdfIf the dpy-11 and unc-31 genes are linked on the same chromosome, how.pdf
If the dpy-11 and unc-31 genes are linked on the same chromosome, how.pdf
 
How does a wave formation influence the resultant waveSolution.pdf
How does a wave formation influence the resultant waveSolution.pdfHow does a wave formation influence the resultant waveSolution.pdf
How does a wave formation influence the resultant waveSolution.pdf
 
How are health services paid for Provide a definition for the term .pdf
How are health services paid for Provide a definition for the term .pdfHow are health services paid for Provide a definition for the term .pdf
How are health services paid for Provide a definition for the term .pdf
 
Given the information regarding mitosis and meiosis, clearly and con.pdf
Given the information regarding mitosis and meiosis, clearly and con.pdfGiven the information regarding mitosis and meiosis, clearly and con.pdf
Given the information regarding mitosis and meiosis, clearly and con.pdf
 
First, look to determine what is the earliest era that fossils have .pdf
First, look to determine what is the earliest era that fossils have .pdfFirst, look to determine what is the earliest era that fossils have .pdf
First, look to determine what is the earliest era that fossils have .pdf
 
Figure out and write down a definition of a translation that does no.pdf
Figure out and write down a definition of a translation that does no.pdfFigure out and write down a definition of a translation that does no.pdf
Figure out and write down a definition of a translation that does no.pdf
 

Recently uploaded

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
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
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
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
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 

Recently uploaded (20)

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
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
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.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
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 

An alarm system is to have 4 different devices, each with its sensor..pdf

  • 1. An alarm system is to have 4 different devices, each with its sensor. One of the sensors is to have interrupt address 83. Show and explain how that address is created using switches and how the INTA signal is used to enable a tri-state buffer/driver to place the address on the data lines. IX. On the 82C55 Parallel Programmable interface, the Control Port has the address ffffh. The control word 81h will program the lower-C-port as input and the upper-C port as output. (We don't care about the other ports). The address of the C-port is fffdh. Write a program to perform as follows: Address the Control Port and program the C-port as given above. Read from the lower-C port. Add 5 to the number that is read. Output the number read to the upper-C port. Return to step c. (The program will continue until operator intervention). Solution In the previous articles we saw about the architecture of 8085 microprocessor. Now we have a rough idea about how the instructions, data's are transferred and processed in 8085 microprocessor. In this article let us discuss in detail about the various signals involved in transferring data and executing instructions in microprocessor. The various signals in a microprocessor can be classified as Power supply and Frequency signals: Signals which aids in supplying power and generating frequency are associated with this type. Pins like Vcc and ground are classified under this type. Address signals: Signals associated with the lower order address bus and time multiplexed higher order address bus comes under this type of signals. Data Signals: Signals associated with data bus comes under this type. Control and Status Signals: Signals which are associated with timing and control unit such HOLD, RW’, WR’ etc. comes under this type of signals. Interrupt Signals: We know that signals like TRAP, RST 5.5 etc. are interrupt signals. Such signals come under this category. Serial I/O signals: These signals are used for giving serial input and output data. Signals like SID, SOD come under this category. Acknowledgement Signals: Signals like INTA’, HLDA acts as acknowledgement signal for 8085 microprocessor. Address Bus: The pins A8-A15 denote the address bus. They are used for the most significant bit of memory address. Address/Data Bus: AD0-AD7 constitutes the Address/Data bus. They are time multiplexed. These pins are used for least significant bits of address bus in the first machine clock cycle and used as data bus for
  • 2. second and third clock cycle. But what is a clock cycle? What is first clock cycle and second, third so on... A clock cycle is nothing but the time taken between two adjacent pulses of the oscillator. In simple words clock cycle refers to the transition between o volts to 5 volts and back to 0 volts. So the first clock cycle means the first transition of pulse from 0volts to 5 volts and then back to 0 volts. ALE: Address Latch Enable: In the previous article we saw how ALE helps in demultiplexing the lower order address and data bus. This signal goes high during the first clock cycle and enables the lower order address bits. The lower order address bus is added to memory or any external latch. IO/M’: Consider we have an address to be processed. But how do the processors know whether the address is for memory or I/O functions? For this purpose a status signal called IO/M’ is used. This distinguishes whether the address is for memory or IO. When this pin goes high, the address is for an I/O device. While the pin goes low, the address is assigned for the memory. S0-S1: S0 and S1 are status signals which provides different status and functions depending on their status. RD’: This is an active low signal. That is, an operation is performed when the signal goes low. This signal is used to control READ operation of the microprocessor. When this pin goes low the microprocessor reads the data from memory or I/O device. WR’: WR’ is also an active low signal which controls the write operations of the microprocessor. When this pin goes low, the data is written to the memory or I/O device. READY: READY is used by the microprocessor to check whether a peripheral is ready to accept or transfer data. A peripheral may be a LCD display or analog to digital converter or any other. These peripherals are connected to microprocessor using the READY pin. If READY is high then the periphery is ready for data transfer. If not the microprocessor waits until READY goes high. HOLD: This indicates if any other device is requesting the use of address and data bus. Consider two peripheral devices. One is the LCD and the other Analog to Digital converter. Suppose if analog to digital converter is using the address and data bus and if LCD requests the use of address and data bus by giving HOLD signal, then the microprocessor transfers the control to the LCD as
  • 3. soon as the current cycle is over. After the LCD process is over, the control is transferred back to analog and digital converter. HLDA: HLDA is the acknowledgment signal for HOLD. It indicates whether the HOLD signal is received or not. After the execution of HOLD request, HLDA goes low. INTR: INTR is an interrupt request signal. It has the lowest priority among the interrupts. INTR can be enabled or disabled by using software. Whenever INTR goes high the microprocessor completes the current instruction which is being executed and then acknowledges the INTR signal and processes it. INTA’: Whenever the microprocessor receives interrupt signal. It has to be acknowledged. This acknowledgement is done by INTA’. So whenever the interrupt is received INTA’ goes high. RST 5.5, 6.5, 7.5: These are nothing but the restart interrupts. They insert an internal restart function automatically. All the above mentioned interrupts are maskable interrupts. That is, they can be enabled or disabled using programs. TRAP: Among the interrupts of 8085 microprocessor, TRAP is the only non-maskable interrupt. It cannot be enabled or disabled using a program. It has the highest priority among the interrupts. PRIORITY ORDER (From highest to lowest) TRAP RST 7.5 RST 6.5 RST 5.5 INTR RESET IN’: This pin resets the program counter to 0 and resets interrupt enable and HLDA flip-flops. The CPU is held in reset condition until this pin is high. However the flags and registers won’t get affected except for instruction register. RESET OUT: This pin indicates that the CPU has been reset by RESET IN’. X1 X2: These are the terminals which are connected to external oscillator to produce the necessary and suitable clock operation. CLK:
  • 4. Sometimes it is necessary for generating clock outputs from microprocessors so that they can be used for other peripherals or other digital IC’s. This is provided by CLK pin. Its frequency is always same as the frequency at which the microprocessor operates. SID: This pin provides serial input data. The serial data on this pin is loaded into the seventh bit of the accumulator when RIM instruction is executed. RIM stands for READ INTERRUPT MASK, which checks whether the interrupt is masked or not. SOD: This pin provides the serial output data. The serial data on this pin delivers its output to the seventh bit of the accumulator when SIM instruction is executed. Vcc and Vss: Vcc is +5v pin and Vss is ground pin. Thus the pin diagram and signals of 8085 microprocessor are explained in detail.