The IE and IP registers of Intel 8051 and the interrupt vector address table are given...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The IE and IP registers of Intel 8051 and the interrupt vector address table are given at the end. Configure the IE and IP registers to enable Timer 1 and External Interrupt 1, but Timer 1 with a higher interrupt priority than External Interrupt 1. A. Draw the registers and show your values in hex, next to each register. B. How is Timer 1 overflow detected and where will the execution jump when the interrupt is serviced? C. While External Interrupt 1 subroutine is running Timer 1 overflows, causing a nested interrupt. What will happen? BIT IP.7 IP.6 IP.5 IP4 IP.3 IP2 IP.1 IP.0 Source IEO #3333359 TFO IE1 TF1 RI+TI BIT E.7 E.B E.5 ICA E3 E2 E.1 - PS PTI SYMBOL FUNCTION Reservad PX1 PTO PKD INTERRUPT PRIORITY & INTERRUPT VECTOR ADDRESS TABLE Vector Address 0003H 000BH MSB 1186568 X ETI EXT ETO EXO X MSB Reserved. Reserved. 0013H 001BH 0023H EA SYMBOL FUNCTION EA 8051 REFERRENCE MANUAL X X Defines the Serial Port interrupt priority level. PS-1 programs it to the higher priority level Delines the Timer 1 interrupt priority level. PT1-1 programs t to the higher priority level. Defines the External Interupt 1 priority laval. PX1=1 programs it to the higher priority level Enables or disables the Timer O interrupt priority level. FTO-1 programs it to the higher onorty level Delfines the ExternalInterrupt 0 priority level. PXD-1 programs it to the higher priority level. PS LSE PT1 FX1 PTO PXO Figure 19. Interrupt Prionty Register (F) X Contains JMP OB00 RETI JMP 0B80 RETI JMP 0C00 RETI JMP 0C80 RETI JMP 0D00 RETI ES LSB ETI EX1 ETD EXD Disables all interrupts. Ir EA-0, no interupt will be acknowledged If EA-1, each interrupt source is individually enabled or disabled by seting or clearing its enable bit Reserved Reserved Chables or disables the Serial Port interupt FC0-0, the Serial Port intempt is disabled Enables or disables the Timer 1 Overflow intenupt ET1-0, the Timer 1 interact is disabled Enables or disables External interrupt 1. I EX1-0, External interrupt 1 is disabled. Enables or disables the Timer 0 Overflow interrupt ETD-0, the Timer Ortemapt is disabled Snables or disables External interrupt 0.1 EXO-C, External interrupt is disabled Figure 18 Interruct Enable Register (E) BUCOSAS BISH The IE and IP registers of Intel 8051 and the interrupt vector address table are given at the end. Configure the IE and IP registers to enable Timer 1 and External Interrupt 1, but Timer 1 with a higher interrupt priority than External Interrupt 1. A. Draw the registers and show your values in hex, next to each register. B. How is Timer 1 overflow detected and where will the execution jump when the interrupt is serviced? C. While External Interrupt 1 subroutine is running Timer 1 overflows, causing a nested interrupt. What will happen? BIT IP.7 IP.6 IP.5 IP4 IP.3 IP2 IP.1 IP.0 Source IEO #3333359 TFO IE1 TF1 RI+TI BIT E.7 E.B E.5 ICA E3 E2 E.1 - PS PTI SYMBOL FUNCTION Reservad PX1 PTO PKD INTERRUPT PRIORITY & INTERRUPT VECTOR ADDRESS TABLE Vector Address 0003H 000BH MSB 1186568 X ETI EXT ETO EXO X MSB Reserved. Reserved. 0013H 001BH 0023H EA SYMBOL FUNCTION EA 8051 REFERRENCE MANUAL X X Defines the Serial Port interrupt priority level. PS-1 programs it to the higher priority level Delines the Timer 1 interrupt priority level. PT1-1 programs t to the higher priority level. Defines the External Interupt 1 priority laval. PX1=1 programs it to the higher priority level Enables or disables the Timer O interrupt priority level. FTO-1 programs it to the higher onorty level Delfines the ExternalInterrupt 0 priority level. PXD-1 programs it to the higher priority level. PS LSE PT1 FX1 PTO PXO Figure 19. Interrupt Prionty Register (F) X Contains JMP OB00 RETI JMP 0B80 RETI JMP 0C00 RETI JMP 0C80 RETI JMP 0D00 RETI ES LSB ETI EX1 ETD EXD Disables all interrupts. Ir EA-0, no interupt will be acknowledged If EA-1, each interrupt source is individually enabled or disabled by seting or clearing its enable bit Reserved Reserved Chables or disables the Serial Port interupt FC0-0, the Serial Port intempt is disabled Enables or disables the Timer 1 Overflow intenupt ET1-0, the Timer 1 interact is disabled Enables or disables External interrupt 1. I EX1-0, External interrupt 1 is disabled. Enables or disables the Timer 0 Overflow interrupt ETD-0, the Timer Ortemapt is disabled Snables or disables External interrupt 0.1 EXO-C, External interrupt is disabled Figure 18 Interruct Enable Register (E) BUCOSAS BISH
Expert Answer:
Answer rating: 100% (QA)
Unfortunately the question image appears to be incomplete and I cant provide a full response without the full text of the question or the complete cha... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these computer network questions
-
Ava plans to open a candy shop called Sweet Life Candy. She can rent a shop space for $4,500 a month. She is or to keep the existing standard lights and wall paint in the shop. If she hangs wallpaper...
-
Solve algebraically for the pH of a solution of 5 X 10^-3 moles of NaOCI in 1 L of water. Write the relevant equations starting with the equilibrium and mass balance expressions. For you "last...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Jilmar Company acquired a delivery truck and made payment of P2,870,000 analyzed as follows: Price of truck - P2,500,000 Charge for extra equipment - P150,000 Value added tax (recoverable) -...
-
1. (1) It has been widely acknowledged that the quality of undergraduate education in this country is diminishing. (2) An often unrecognized cause of this malady is the exploitative way that...
-
What risks do bankers assume when making loans to foreign borrowers?
-
How are the mean square value, autocorrelation function, and the power spectral density function of a stationary random process related?
-
Complete the table below and plot the EAC as a function of time. What are yourconclusions? Cumulative Cost, in Thousands Variance S Week BCWS BCWP ACWP Schedule Cost EAC 50 70 90 120 130 140 165 200...
-
what does a center proposal looks like. Planned center, how will you assess the center, what outcomes will children achieve?, How will you assess the outcomes? timeline for making decisions, and...
-
Knowing that the tension in wire BD is 300 lb, determine the reaction at fixed support C for the frame shown. 180 Ib 6 in. 10 in. -20 in. 100 lb 24 in. 16 in.
-
i) Find the permutation matrix ii) Find the solution of the PA using the LU decomposition.
-
A defendant may be found liable for the actions of an obviously intoxicated individual if she loans her vehicle to this individual. True False
-
What is the essence of the question regarding reasonable care, and why is the determination of reasonableness sometimes problematic?
-
Nina is able to select her weekly work hours. When a new bridge opens up, it cuts one hour off Ninas total daily commute to work. If both leisure and income are normal goods, what is the effect of...
-
Some courts have applied the voluntary- undertaking doctrine even when the plaintiff did not rely on the defendants services. True False
-
A landlord must be given reasonable time to make repairs after being notified of the condition needing repair. True False
-
Solve Solve the given equation lim x^3-2x^2/x^2+x-6
-
Transform the while loop from the previous exercise into an equivalent for loop (make sure it produces the same output).
-
Jenny earns $34,500 in 2012. Calculate the FICA tax that must be paid by: Jenny: ..............................Soc,Sec. ..................$______________...
-
For each of the following cases, indicate the filing status for the taxpayer(s) for 2012 using the following legend: A - Single B - Married, filing a joint return C - Married, filing separate returns...
-
Dr. George E. Beeper is a single taxpayer. He lives at 45 Mountain View Dr., Apt. 321, Spokane, WA 99210. Dr. Beeper's Social Security number is 775-88-9531. Dr. Beeper works for the Pine Medical...
-
Who is the audit client? Why is it important that the auditor understand who the true audit client is and why that party is the audit client?
-
Explain how "privileged communication" differs from confidential information.
-
Which of the following statements best explains why the CPA profession has found it essential to promulgate ethical standards and to establish means for en- suring their observance? a. Vigorous...
Study smarter with the SolutionInn App