Explain processes of interrupt enabling and disabling in 8051.

1 Answer

Answer :

Interrupts are the events that temporarily suspend the main program, pass the control to the external sources and execute their task. It then passes the control to the main program where it had left off.8051 has 5 interrupt signals, i.e. INT0, TF0, INT1, TF1, RI/TI. Each interrupt can be enabled or disabled by setting bits of the IE register and the whole interrupt system can be disabled by clearing the EA bit of the same register.

IE (Interrupt Enable) Register: This register is responsible for enabling and disabling the interrupt. EA bit is set to 1 for enabling interrupts and set to 0 for disabling the interrupts. Its bit sequence and their meanings are shown in the following figure.

image

image

Related questions

Description : The IP Control Protocol (IPCP) is the NCP for IP and is responsible for ………., …………., and disabling the IP protocol on both ends of the point-to-point link. A. Reframing , enabling B. Deleting, reframing C. configuring, enabling, D. configuring, reframing

Last Answer : C. configuring, enabling,

Description : Draw the format of PSW register of 8051 microcontroller and explain the function of each bit.

Last Answer : 1. CY: Carry flag. This flag is set whenever there is a carry out from the D7 bit after an 8 bit addition or subtraction. It can also be set to 1 or 0 directly by instructions such as SETB C and ... the A register contains an odd number of 1s, then P=1. P=0 if A has an even number of 1s.

Description : Draw and explain Internal port structure of Port 0 and Port 1 of 8051 microcontroller.

Last Answer : Port-0 can be configured as a normal bidirectional I/O port or it can be used for address/data interfacing for accessing external memory. When control is '1', the port is used for address/data ... is not able to sink the current the pin voltage may rise, leading to a possible wrong reading.

Description : Explain with sketch the interfacing of 4 ×4 matrix keypad with 8051 microcontroller.

Last Answer : Interfacing keypad Fig. shows how to interface the 4 X 4 matrix keypad to two ports in microcontroller. The rows are connected to an output port and the columns are connected to an input port. To ... key has been pressed, the next task is to find out which column the pressed key belongs to.

Description : Describe serial communication in 8051. Explain the use of SCON register.

Last Answer : 8051 micro controller communicate with another peripheral device through RXD and TXD pin of port3.controller have four mode of serial communication.  1. Serial Data Mode-0 (Baud Rate Fixed) In this mode ... .0 Receive interrupt flag. Set by hardware halfway through the stop bit time in mode 1. 

Description : Explain following instructions of 8051. (i) ADDC (ii) L CALL

Last Answer : (i) ADDC: The ADDC instruction adds a byte value and the value of the carry flag to the accumulator. The results of the addition are stored back in the accumulator. Several of the flag ... . Then the program counter is loaded with the new address and control is transferred to the subroutine. 

Description : Explain function of following pins of 8051 (i) Pin 31 (ii) Pin 29 (iii) Pin 21-28 

Last Answer : i) Pin 31-EA : It is and active low I/P to 8051 microcontroller. When (EA)= 0, then 8051 microcontroller access from external program memory (ROM) only. When (EA) = 1, then it access internal ... /Output, when external memory is interfaced, PORT 2 pins act as the higher-order address bus. (A8-A15)

Description : Draw and explain the interfacing of DAC to 8051.

Last Answer : Diagram:  * Microcontroller generates output which is in digital form but many controlling system requires analog signal as they don't accept digital data thus making it necessary to use DAC ... current. Hence we require an I to V converter to convert this current into equivalent voltage. 

Description : Describe power down mode and ideal mode of 8051 with circuit diagram . which SFR is used to set these modes and draw the same.

Last Answer : IDLE MODE In the Idle mode, the internal clock signal is gated off to the CPU, but not to the Interrupt, Timer and Serial Port functions. The CPU status is preserved in its entirety, the Stack Pointer, ... t change on chip RAM PCON (Power Control Register) SFR is used to set these modes.

Description : State any four important features of 8051 microcontroller.

Last Answer : Features of 8051 microcontroller:  1) 8- bit data bus and 8- bit ALU. 2) 16- bit address bus - can access maximum 64KB of RAM and ROM. 3) On- chip RAM -128 bytes (Data ... 0 and Timer 1, two external hardware interrupts- INT0 and INT1, Serial communication interrupt for both receive and transmit.

Description : State the alternate pin functions of port 3 of 8051.

Last Answer :  the alternate pin functions of port 3 of 8051 :

Description : Draw interfacing of 16 × 2 LCD with 8051 and state the function of EN and RS of LCD

Last Answer : Diagram: RS: RS is the register select pin. We need to set it to 1, if we are sending some data to be displayed on LCD. And we will set it to 0 if we are sending some command instructions ... the LCD to latch in the data present at the data pins. This pulse must be a minimum of 450ns wide.

Description : Draw the format of TCON register of 8051 and describe the function of each bit of it.

Last Answer : TCON: TIMER/COUNTER CONTROL REGISTER.BIT ADDRESSABLE  TF1 TCON. 7 Timer 1 overflows flag. Set by hardware when the Timer/Counter 1 Overflows. Cleared by hardware as processor ... 0 type control bit. Set/cleared by software to Specify falling edge/low level triggered External Interrupt

Description : Describe 8051 microcontroller as boolean processor.

Last Answer : * 8051 processor is a CPU that can perform some operation on a data and gives the output. * The 8051 processor contains a complete Boolean processor for single-bit operations. * The internal RAM contains 128 ... CLR C means clear the carry bit SETB 20h means set the memory bit with bit address 20h.

Description : List SFR in 8051.

Last Answer : ACC and B registers - 8 bit each DPTR : [DPH:DPL] - 16 bit combined PC : Program Counter - 16 bits Stack pointer SP - 8 bit PSW : Program Status Word Port Latches ... , serial control Timer Registers (TCON,TMOD,TL0/1,TH0/1) Power control Interrupt Enable, Interrupt Priority

Description : List specifications of 8051 microcontroller.

Last Answer : 1) 8- bit data bus and 8- bit ALU. 2) 16- bit address bus - can access maximum 64KB of RAM and ROM. 3) On- chip RAM -128 bytes (Data Memory) 4) On- chip ROM - 4 KB ( ... 0592 MHz 9) Has power down and idle mode in microcontroller when no operation is performed. 10) Six interrupts are available.

Description : In 8051 an external interrupt 1 vector address is of ________ and causes of interrupt if ____. a) 000BH, a high to low transition on pin INT1 b) 001BH, a low to high transition on pin INT1 c) 0013H, a high to low transition on pin INT1 d) 0023H, a low to high transition on pin INT1

Last Answer : a) 000BH, a high to low transition on pin INT1

Description : In 8051 which interrupt has highest priority? a)IE1 b)TF0 c)IE0 d)TF1

Last Answer : a)IE1

Description : In 8051 which interrupt has highest priority? a)IE1 b)TF0 c)IE0 d)TF1

Last Answer : c)IE0

Description : The system is notified of a read or write operation by ___________ a) Appending an extra bit of the address b) Enabling the read or write bits of the devices c) Raising an appropriate interrupt signal d) Sending a special signal along the BUS

Last Answer : Sending a special signal along the BUS

Description : Issue with internet, service provider suggests disabling cookies, what happens if I just bite the legs off a gingerbread man?

Last Answer : Remember: A moment on the lips – a lifetime on the hips. Fix the problem without injuring others.

Description : Is it possible to turn off the icon in the taskbar somehow to install Windows 10? I don't want to install Windows 10 yet. Thank you

Last Answer : You probably can't turn it off, but you'll have to install it one day because in the future there will be only Windows 10 and now you have a chance to download it for free.

Description : Osteoarthritis is known as a disease that a) is the most common and frequently disabling of joint disorders. The functional impact of osteoarthritis on quality of life, especially for elderly patients, ... causes the described problem and is usually diagnosed in the second or third decade of life.

Last Answer : a) is the most common and frequently disabling of joint disorders. The functional impact of osteoarthritis on quality of life, especially for elderly patients, is often ignored.

Last Answer : Most microprocessors have a nonmaskable interrupt, an input pin that causes an interrupt that cannot be disabled. If an interrupt routine shares any data with the task code, then it is necessary ... by setting the priority level. 3. It allows us to enable and disable individual interrupts.

Description : Explain the purpose of the Enabling Act passed on 3rd March, 1933. -History 9th

Last Answer : The Enabling Act allowed the Reich government to issue laws without the consent of Germany's parliament, laying the foundation for the complete Nazification of German society. The law was passed on March 23, 1933, and published the following day.

Description : Explain the following instructions. SWAP A ADD C MUL AB CJNE A, add, radd MOV A, R0 MOVX A, @ A + DPTR.

Last Answer : SWAP A Description: This instruction exchanges bits 0-3 of the Accumulator with bits 4-7 of the Accumulator. This instruction is identical to executing "RR A" or "RL A four times ... referred to as the base address and the accumulator value is referred to as the index address.

Description : Explain the various selection factors of microcontroller suitable for application.

Last Answer : The selection of microcontroller depends upon the type of application. The following factors must be considered while selecting the microcontroller.  1. Word length: The word length of ... and for lesser production EPROM version or CPU version with external program memory is suitable

Description : State and explain the need of the following development tools microcontroller board: (i) Editor (ii) Assembler (iii) Compiler (iv) Linker

Last Answer : 1) Editor: An editor is a program which helps you to construct your assembly language program in right format so that the assembler will translate it correctly to machine language. So, you can type your ... . Some examples of linker are ASEM-51 BL51, Keil u Vision Debugger, LX 51 Enhanced Linker etc

Description : Explain the use of following assembler directives. (i) EQU (ii) ORG

Last Answer : (i) EQU: Equate It is used to define constant without occupying a memory location. Syntax: Label EQU Numeric value By means of this directive, a numeric value is replaced by a symbol. For e.g. ... decimal. If the number is notfollowed by H, it is decimal and the assembler will convert it to hex.

Description : In 8051,After reset the SP register is initialized to address________. a. 8H b) 9H c) 7H

Last Answer : c) 7H

Description : SP of 8051 is of ___ wide and it is loaded with the default value of ___ after reset. a) 2 byte, 08H b) 8 bit, 07H c) 1 byte, 09H d) 8 bit, 06H

Last Answer : d) 8 bit, 06H

Description : The 8051 microcontroller is of ___pin package as a ______ processor. a) 30, 1byte b) 20, 1 byte c) 40, 8 bit

Last Answer : c) 40, 8 bit

Description : The 8051 microcontroller is of ___pin package as a ______ processor. a) 30, 1byte b) 20, 1 byte c) 40, 8 bit d) 40, 8 byte

Last Answer : c) 40, 8 bit

Description : List out features of any four addressing modes of 8051.

Last Answer : 1.Immediate addressing mode: In this Immediate Addressing Mode, the data is provided in the instruction itself. The data is provided immediately after the opcode. These are some examples of Immediate Addressing Mode. MOVA ... us see some examples of this mode. MOV 0E5H, @R0 MOV @R1, 80H

Description : Which instruction of 8051 microcontroller is used for reading data from code memory?  A) Mov B) MOVC C) MOVX D) XCH

Last Answer : Mov

Description : What is the difference between empowering and enabling?

Last Answer : Empowering enables the positive. Enabling enables the negative.

Description : Is not reporting a crime a de facto enabling of the criminal to do future crimes?

Last Answer : The criminals are the only people who are guilty of their crimes. The victims do not need another reason to feel victimized.

Description : Would you help out a friend/family member if you thought you might be enabling them?

Last Answer : I would for the short term, but it would also involve a long conversation and questions as to their being clean and sober.

Description : Is butting out of a bad relationship enabling?

Last Answer : I think it is also an element of people not being honest with themselves. If they get too caught up in the short-comings of the other people in their lives they can sacrifice and even forget about their ... will be there for you and then they bail on you when the going gets tough that really blows.

Description : If you buy a ticket to see Charlie Sheen Live are you an enabling him?

Last Answer : I think it would be. But his life right now is like a car accident: it’s hard to look away. Hence the ticket sales.

Description : By remaining silent are some women de facto enabling rapist?

Last Answer : answer:Two-thirds of women who are raped, are raped by someone they know. According to to RAINN, reasons that women that don't report rapes include feeling like it's a personal matter, fear of reprisal ... put the act behind them, and feel that keeping quiet will enable them to get over it faster.

Description : If you had access to a device that could make duplicates (copies) of brand new vehicles, enabling you to drive off in it, while leaving the original in its place unharmed... would you do it?

Last Answer : In a hot flash…I mean yes, of course.

Description : Do you se the capitalist system as a form of slavery, or an enabling of the individual to free himself from the shackles of slavery?

Last Answer : Uh,...no.

Description : How to determine if enabling Quartz 2D Extreme will work on my Mac?

Last Answer : i’m sure you already checked here, but just in case, maybe this will give you some info

Description : Which of the following programs sponsored by central government aims at enabling the rural population to conserve water for drinking, -Geography

Last Answer : Correct answer is (b) Haryali

Description : What was 'Enabling Act'? -History 9th

Last Answer : answer:

Description : What was the Enabling Act? Or When was the Enabling Act passed in Germany? How did this act establish dictatorship of Hitler in Germany? -History 9th

Last Answer : This act gave Adolf Hitler the power to sideline the parliament and rule by decree. =>All political parties were banned except the Nazi Party and its affiliates =>The state established complete control over the economy, media, army and judiciary

Description : What was the significance of the Enabling Act ? -History 9th

Last Answer : The Enabling Act On the 23rd of March 1933, the Enabling Act was passed by the Reichstag 441 votes to 94. This Act gave Hitler the right to make laws without the Reichstag's approval for the next ... as a source of opposition. The Reichstag rarely met for the remainder of Hitler's time in power.

Description : When was the Enabling Act passed in Germany ? -History 9th

Last Answer : 24 March 1933 is the answer

Description : After the Nazi Party became the largest party in Germany, Democracy in Germany began to get destroyed. The Enabling Act gave Hitler dictatorial powers in Germany and he was assisted by the secret police, ... do you think many Germans turned a blind eye to the plight of Jews? * -Social Science

Last Answer : Everyone came to feel that the rise of Nazi Germany could be partly traced back to the German experience at the end of the. First World War.