Microprocessors & Microcontrollers
Microprocessors & Microcontrollers
CISC Microprocessor:
RISC Microprocessor:
8086 Microprocessor
Some features of 8086 microprocessor:
VCC – Pin number 40 – At this pin, the external power supply of + 5V is provided
to the processor.
VSS – Pin number 1 and 20 – These two pins act as the ground. This pin directs
the extra current of the microprocessor to ground.
AD0 – AD15 – Pin number 2 to 16 and 39 – These are the multiplexed address and
data bus.
We know that the 8086 microprocessor has 20-bit address bus and 16-bit data bus.
So, the 16 lines of the address and data bus are multiplexed together so as to reduce
the number of lines inside the IC.
We are aware of the fact that at a time either address or data will be transmitted by
the bus. So, at a particular time only either the address or the data bus will be
enabled from the multiplexed buses.
A16/S3, A17/S4, A18/S5 and A19S6 – Pin number 35 to 38 – Out of 20 address bits, 4
are present in the multiplexed form with the status signals. In the case of memory
operations, these pins act as an address bus and contain the memory address of any
particular instruction or data.
However, from I/O operations these pins are low that shows the status of the
processor.
Basically, the signal at S3 and S4 show that which segment is currently accessed by
the microprocessor among the four segments present in it.
BHE’ / S7 – Pin number 34 – BHE is an acronym for Bus High Enable. The
combination of the BHE signal and S7 status informs about the existence of the
data on the bus. Also, different combinations show whether the bus is containing
overall 16-bit, upper byte or lower byte of the data.
The table below represents the status for the signal at this pin:
MN/MX’ – Pin number 33 –The status at this particular pin shows whether the
processor is operating in the minimum mode or maximum mode.
A signal 0 at this pin informs that the 8086 is operating in maximum mode i.e.,
multiple processors. While signal 1 shows the operation under minimum mode i.e.,
single processor.
RD’ – Pin number 32 – An active low signal at this pin shows that the
microprocessor is performing read operation with either memory or I/O devices.
CLK – Pin number 19 – A signal at this pin provides the timing to the internal
operations that are being executed inside the microprocessor.
NMI – Pin number 17 – NMI is non-maskable interrupt. These are basically
uncontrollable interrupts generated inside the processor. When an NMI occurs,
then an interrupt service routine is generated by the interrupt vector table.
TEST – Pin number 23 – This pin basically shows the wait instruction. Whenever
a low signal at this pin occurs then the processing inside the processor continues.
As against, in case of the high signal, the processor has to wait for the disabling of
this pin.
INTR – Pin number 18 – INTR stands for an interrupt request. The processor
after each clock cycle samples the INTR and if the signal at this pin is found to be
high then the processor controls that interrupt internally.
READY – Pin number 22 – This signal is used by the peripherals and memory
devices in order to show the readiness for the next operation.
RESET – Pin number 21 – Whenever this pin is enabled then it resets the
processor and other devices connected to the system by immediately terminating
the recent task.
The following pin functions are for the minimum mode operation of 8086.
DEN’ – Pin number 26 – DEN is used for data enable. This is an active low pin
that means whenever a 0 is present at this pin then the transceiver gets enabled and
it separates the data from the multiplexed address and data bus.
M/IO’ – Pin number 28 – This pin indicates whether the processor is performing
an operation with memory or I/O devices. Whenever a high is present at this pin
then it shows the operation is carried out through the memory. While a low signal
shows operation through I/O devices.
WR’ – Pin number 29 – An active low signal at this pin indicates that the
processor is performing write operation from either memory or I/O devices.
HOLD – Pin number 31 – When an external device enables this pin then the
processor stops accessing the buses immediately after the recent task gets over.
HLDA – Pin number 30 – This pin is used as a response pin for the hold request.
Once request for accessing the buses is produced by an external entity. Then the
microprocessor acknowledges the device that its request will be considered once it
gets over by the current operation.
The following pin function are applicable for maximum mode operation of
8086.
S0‘, S1‘and S2‘– Pin number 26 to 28 (status line)– These are basically 3 status
pins and are active low. This means that if the status at all the 3 pins is 0 then it
shows that multiple interrupts are to be handled in maximum mode.
LOCK’ – Pin number 29 –This pin is involved in maximum mode operation. So,
basically, when a single processor is accessing the buses and peripherals then it
locks the resources being used by it. So, that no other entity can access it until the
recent processor frees it.