MICROPROCESSOR AND MICROCONTROLLER

INTERRUPT PROGRAMMING

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is the function of this C instruction?#pragma code My ____ HiPrio ____ Int=0x0008void My ____ HiPrio ____ Int(void){ ____ asmGOTO chk ____ isr ____ endasm}#pragma code
A
Transfer control to the ISR (Interrupt Sub-routine)
B
Transfer control to main program
C
Find source of interrupt
D
All of the above
Explanation: 

Detailed explanation-1: -C instructions are the commands in the program that instructs the compiler to do certain action. Basically it gives the instruction to the compiler on how to achieve the goal of the program. For example, when we say add two numbers; C compiler will not understand how to do it.

Detailed explanation-2: -What Are Control Statements in C? In simple words, Control statements in C help the computer execute a certain logical statement and decide whether to enable the control of the flow through a certain set of statements or not. Also, it is used to direct the execution of statements under certain conditions.

Detailed explanation-3: -Functions with arguments and return values. Functions with arguments and without return values. Functions without arguments and with return values. Functions without arguments and without return values. 17-Oct-2022

There is 1 question to complete.