You are on page 1of 6

NEHRU INSTITUTE OF ENGINEERING AND TECHNOLOGY

“Nehru Gardens” T. M. PALAYAM, COIMBATORE-105


(Approved by AICTE and Affiliated to Anna University, Chennai)
(Accredited by NAAC, Recognized by UGC with 2(f) and 12(B))
NBA Accredited UG Courses: AERO, CSE, MECH DEPARTMENT
OF COMPUTER SCIENCE AND ENGINEERING

EC8691 – MICROPROCESSORS AND


MICRO CONTROLLERS
Prepared by
G.Jeevanantham, AP/CSE,
NIET.
UNIT I THE 8086
MICROPROCESSOR

Introduction to 8086 – Microprocessor


architecture – Addressing modes - Instruction
set and assembler directives –
Assembly language programming –
Modular Programming - Linking and
Relocation - Stacks - Procedures – Macros –
Interrupts and interrupt service routines –
Byte and String Manipulation.
Interrupt and Interrupt Service
Routing
• While CPU is executing a program, an
interrupt breaks the normal sequence of
executing the instruction, it diverts its
execution to some other program called
Interrupt Service Routine.
• After executing, the control is transferred
back again to the main program which was
being executed at the time of interrupt.
Interrupt and Interrupt Service
Routing
• 8086 has two types of interrupt pins NMI and INTR.
• NMI(Non Maskable Interrupt): It is a single non-
maskable interrupt pin (NMI) having higher priority
than the maskable interrupt request pin.
• The INTR is a maskable interrupt because the
microprocessor will be interrupted only if interrupts
are enabled using set interrupt flag instruction. It
should not be enabled using clear interrupt Flag
instruction.
Interrupt and Interrupt Service
Routing
• Types of Interrupt:
1.ExternalInterrupt: External device or
a signal interrupt the process from outside.
Eg. Keyboard Interrupt.
2.Internal Interrupt: Internal Interrupt
generated is internally by the
processor
circuit.
Eg. Overflow Interrupt.
Thank
You

You might also like