MICROPROCESSOR AND MICROCONTROLLER

INTRODUCTION TO MICROPEOCESSOR

MODEL OF MICROPROCESSOR

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What function which can stop the main program and do other programs?
A
Interrupt
B
Timer
C
Counter
D
SPI
Explanation: 

Detailed explanation-1: -An interrupt is a signal emitted by a device attached to a computer or from a program within the computer. It requires the operating system (OS) to stop and figure out what to do next. An interrupt temporarily stops or terminates a service or a current process.

Detailed explanation-2: -Interrupts have two types: Hardware interrupt and Software interrupt.

Detailed explanation-3: -Normal Interrupts − The interrupts that are caused by the software instructions are called software instructions. Exception − Exception is nothing but an unplanned interruption while executing a program. For example − while executing a program if we got a value that is divided by zero is called an exception.

Detailed explanation-4: -The RST-restart is the software interrupt and RST 6.5, RST 5.5, TRAP, RST 7.5, and INTR are the hardware interrupts.

There is 1 question to complete.