Null 1
Null 1
microprocessor
What is the 8085 Microprocessor?
Generally, the 8085 is an 8-bit microprocessor, and it was launched by the Intel
team in the year of 1976 with the help of NMOS technology. This processor is
the updated version of the microprocessor. The configurations of 8085
microprocessor mainly include data bus-8-bit, address bus-16 bit, program
counter-16-bit, stack pointer-16 bit, registers 8-bit, +5V voltage supply, and
operates at 3.2 MHz single segment CLK. The applications of 8085
microprocessor are involved in microwave ovens, washing machines,
gadgets, etc.
The features of the 8085 microprocessor are:
This microprocessor is an 8-bit device that receives, operates, or outputs 8-
bit information in a simultaneous approach.
The processor consists of 16-bit and 8-bit address and data lines and so
the capacity of the device is 216 which is 64KB of memory.
This is constructed of a single NMOS chip device and has 6200 transistors
A total of 246 operational codes and 80 instructions are present
As the 8085 microprocessor has 8-bit input/output address lines, it has the
ability to address 28 = 256 input and output ports.
This microprocessor is available in a DIP package of 40 pins
In order to transfer huge information from I/O to memory and from memory
to I/O, the processor shares its bus with the DMA controller.
It has an approach where it can enhance the interrupt handling mechanism
An 8085 processor can even be operated as a three-chip microcomputer
using the support of IC 8355 and IC 8155 circuits.
It has an internal clock generator
It functions on a clock cycle having a duty cycle of 50%
Microprocessor:
Control unit: It control complete operations of microprocessor.
ALU: It performs data processing function in respect of arithmetic and
logical manner.
Registers: It provide internal storage to CPU.
Interrupts: It maintain priority of process.
Internal data bus: It use to transfer data to appropriate place.
Microprocessor Block diagram
1. ALU
The ALU stands for arithmetic and logical unit. As name suggest all the
arithmetic and logical operation of microprocessor done inside this unit. In
addition to the arithmetic & logic circuits, the ALU not only includes the
accumulator, which is part of every arithmetic & logic operation. But also, it
includes a temporary register used for holding data temporarily during the
execution of the operation. But mind it, this temporary register is not
accessible by the programme.
2. REGISTER
FLAG REGISTER
STACK POINTER
As the name suggest stack pointer used as an address pointer. The stack
pointer is also a 16-bit register. It used to point into memory. The memory,
this register points to a special area called the stack. The stack is an area
of memory used to hold data that will be retrieved soon. The stack is
usually accessed in a Last In First Out (LIFO) fashion.
Architecture
Operations of the 8085 Microprocessor
The main operation of ALU is arithmetic as well as logical which includes
addition, increment, subtraction, decrement, logical operations like AND, OR,
Ex-OR, complement, evaluation, left shift or right shift. Both the temporary
registers as well as accumulators are utilized for holding the information
throughout the operations then the outcome will be stored within the
accumulator. The different flags are arranged or rearrange based on the
outcome of the operation.
Flag Registers
The flag registers of microprocessor 8085 are classified into five types namely
sign, zero, auxiliary carry, parity and carry. The positions of bit set aside for
these types of flags. After the operation of an ALU, when the result of the
most significant bit (D7) is one, then the sign flag will be arranged. When the
operation of the ALU outcome is zero then the zero flags will be set. When the
outcome is not zero then the zero flags will be reset.
Program Counter
This is the first type of special-purpose register and considers that the
instruction is being performed by the microprocessor. When the ALU
completed performing the instruction, then the microprocessor searches for
other instructions to be performed. Thus, there will be a requirement of
holding the next instruction address to be performed in order to conserve time.
Microprocessor increases the program when an instruction is being
performed, therefore that the program counter-position to the next instruction
memory address is going to be performed…
Pin Diagram
This 8085 is a 40-pin microprocessor where these are categorized into seven
groups. With the below 8085 microprocessor pin diagram, the functionality
and purpose can be known easily.
8085 Pin Diagram
Data Bus
The pins from 12 to 17 are the data bus pins which are AD0 – AD7, this carries
the minimal considerable 8-bit data and address bus.
Address Bus
The pins from 21 to 28 are the data bus pins which are A8 – A15, this carries the
most considerable 8-bit data and address bus.
Status and the Control Signals
In order to find out the behavior of the operation, these signals are mainly
considered. In the 8085 devices, there are 3 each the control and status
signals.
RD – This is the signal used for the regulation of READ operation. When the
pin moves into low, it signifies that the chosen memory is read.
WR – This is the signal used for the regulation of WRITE operation. When the
pin moves into low, it signifies that the data bus information is written to the
chosen memory location.
ALE – ALE corresponds to Address Latch Enable signal. The ALE signal is
high at the time of the machine’s initial clock cycle and this enables the last 8
bits of the address to get latched with the memory or external latch.
IO/M – This is the status signal that recognizes whether the address to be
allotted for I/O or for memory devices.
READY – This pin is used to specify whether the peripheral is able to transfer
information or not. When this pin is high, it transfers data and if this is low, the
microprocessor device needs to wait until the pin goes to a high state.
S0 and S1 pins – These pins are the status signals which defines the below
operations and those are:
S0 S1 Functionality
0 0 Halt
1 0 Write
0 1 Read
1 1 Fetch
Clock Signals
CLK – This is the output signal which is pin 37. This is utilized even in other
digital integrated circuits. The frequency of the clock signal is similar to the
processor frequency.
X1 and X2 – These are the input signals at pins 1 and 2. These pins have
connections with the external oscillator that operates the device’s internal
circuitry system. These pins are used for the generation of the clock that is
required for the microprocessor functionality.
Reset Signals
There are two reset pins which are Reset In and Reset Out at pins 3 and 36.
RESET IN – This pin signifies resetting the program counter to zero. Also, this
pin resets the HLDA flip-flops and IE pins. The control processing unit will be
in a reset state till RESET is not triggered.
RESET OUT – This pin signifies that the CPU is in reset condition.
Serial Input/Output Signals
SID – This is the serial input data line signal. The information that is on this
dateline is taken into the 7th bit of the ACC when the RIM functionality is
performed.
SOD – This is the serial output data line signal. The ACC’s 7th bit is the output
on the SOD data line when the SIIM functionality is performed.
Externally Initiated and Interrupts Signals
HLDA – This is the signal for HOLD acknowledgment that signifies the
received signal of HOLD request. When the request is removed, the pin goes
to a low state. This is the output pin.
HOLD – This pin indicates that the other device is in the need to utilize data
and address buses. This is the input pin.
INTA – This pin is the interrupt acknowledgment that is directed by the
microprocessor device after the receival of the INTR pin. This is the output
pin.
INTR – This is the interrupt request signal. It has minimal priority when
compared with other interrupt signals.
Interrupt Signal Next instruction location
TRAP 0024
RST 7.5 003C
RST 6.5 0034
RST 5.5 002C
TRAP, RST 5.5, 6.5, 7.5 – These all are the input interrupt pins. When any one
of the interrupt pins are recognized, then the next signal has functioned from
the constant position in the memory based on the below table:
The priority list of these interrupt signals is
TRAP – Highest
INTR – Lowest
The power supply signals are Vcc and Vss which are +5V and ground pins.
In the 8085 microprocessor architecture, here we will look into the timing
diagrams of I/O RD, I/O WR, memory RD, memory WR, and opcode fetch.
Opcode Fetch
The timing diagram is:
Input Read
I/O Write
The timing diagram is:
Input Write
Memory Read
The timing diagram is:
Memory Read
Memory Write
The timing diagram is:
RD – When it is high, this means the microprocessor reads no data, or when it
is low, this means the microprocessor reads data.
WR – When it is high, this means the microprocessor writes no data, or when
it is low, this means the microprocessor writes data.
IO/M – When it is high, this means the device performs I/O operation, or
when it is low, this means the microprocessor performs memory operation.
ALE – This signal implies valid address availability. When the signal is high, it
performs as an address bus, or when it is low, it performs as a data bus.
S0 and S1 – Signifies the kind of machine cycle that is in progress.
Consider the below table:
Status Signals Control Signals
Machine Cycle IO/M’ S1 S0 RD’ WR’
Opcode fetch 0 1 1 0 1
Memory Read 0 1 0 0 1
Memory Write 0 0 1 1 0
Input Read 1 1 0 0 1
Input Write 1 0 1 1 0
8085 Microprocessor Instruction Set
The instruction set of 8085 microprocessor architecture is nothing but
instruction codes used to achieve an exact task, and instruction sets are
categorized into various types namely control, logical, branching, arithmetic,
and data transfer instructions.
Addressing Modes of 8085
The addressing modes of the 8085 microprocessors can be defined as the
commands offered by these modes which are utilized for denoting the
information in different forms without altering the content. These classified into
five groups namely immediate, register, direct, indirect, and implied
addressing modes.
Immediate Addressing Mode
Here, the source operand is the information. When the information is of 8-bit,
then the instruction is of 2 bytes. Or else when the information is of 16-bits,
then the instruction is of 3 bytes.
ADD B – It implies that register A and register B are added and accumulates
the output in A
IN 35 – It implies reading of the information from the port that has address 35
Examples are:
RRC – Implies of rotating accumulator A to the right position by one bit
Engineering Applications
The applications those use microprocessor are in traffic management device,
system servers, medical equipment, processing systems, lifts, huge
machinery, protection systems, investigation domain and in few lock systems
those have automatic entry and exits.
Medical Domain
The foremost usage of microprocessors in the medical industry is in the
insulin pump where the microprocessor regulates this device. It operates
multiple functionalities like storage of calculations, processing of information
that is received from biosensors, and examining the outcomes.
Communication
In the communication domain, the telephonic industry is the most crucial
and enhancing too. Here, microprocessors come into usage in digital
telephonic systems, modems, data cables, and in telephone exchanges,
and many others.
The application of the microprocessor in the satellite system, TV has
allowed for the possibility of teleconferencing also.
Even in airline and railway registration systems, microprocessors are used.
LAN’s and WAN’s for establishing communication of vertical data across
the computer systems.
Electronics
The brain of the computer is the technology of microprocessors. These are
implemented in the various types of systems like in microcomputers to the
range of supercomputers. In the gaming industry, many numbers of gaming
instructions are developed by using a microprocessor.
Thus, this is all about 8085 Microprocessor Architecture. From the above
information finally, we can conclude that 8085 microprocessor features are it is
an 8-bit microprocessor, enclosed with 40-pins, uses +5V supply voltage for
the operation. It consists of the 16-bit stack pointer and program counter, and
74-instruction sets, and many more. Here is a question for you, what is
the 8085 microprocessor simulator?
The data bus is bidirectional and carries the data which is to be stored. The address bus is
unidirectional and carries the location where data is to be stored.
In the 8085 microprocessor, the address bus and data bus are two separate buses that are
used for communication between the microprocessor and external devices.
The Address bus is used to transfer the memory address of the data that needs to be read
or written. The address bus is a 16-bit bus, allowing the 8085 to access up to 65,536
memory locations.
The Data bus is used to transfer data between the microprocessor and external devices
such as memory and I/O devices. The data bus is an 8-bit bus, allowing the 8085 to
transfer 8-bit data at a time. The data bus can also be used for instruction fetch
operations, where the microprocessor fetches the instruction code from memory and
decodes it.
The combination of the address bus and data bus allows the 8085 to communicate with
and control external devices, allowing it to execute its program and perform various
operations.
. Which is not the control bus signal:
a.READ
b.WRITE
c.RESET
d.None of these
2. 2. Name of typical dedicated register is:
a.PC
b.IR
c.SP
d.All of these
3. 3. The cycle required to fetch and execute an instruction in a 8085
microprocessor is which one of the following?
Clock cycle
Memory cycle
Machine cycle
Instruction cycle
4. 4. Which of the following statements for Intel 8085 is correct?
Program Counter (PC) specifies the address of the
instruction last executed