(i) Calculate the amount of time delay generated by the following ASM program. Assume the crystal...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
(i) Calculate the amount of time delay generated by the following ASM program. Assume the crystal frequency of the 8051 as 22 MHz. [5 Marks] LABEL INSTRUCTION DELAY: MOV RO, #5 HERE1: MOV R4, #100 HERE: NOP MOV R7, #248 AGAIN: DJNZ R7, AGAIN DJNZ R4, HERE DJNZ RO, HERE1 RET (ii) Write an 8051 ASM program to show the status of the CY = 1, AC = 0, and P = 0 flags after the addition of 147 and XX. Also, store the result in Bank 1 of R5. [5 Marks] (i) Calculate the amount of time delay generated by the following ASM program. Assume the crystal frequency of the 8051 as 22 MHz. [5 Marks] LABEL INSTRUCTION DELAY: MOV RO, #5 HERE1: MOV R4, #100 HERE: NOP MOV R7, #248 AGAIN: DJNZ R7, AGAIN DJNZ R4, HERE DJNZ RO, HERE1 RET (ii) Write an 8051 ASM program to show the status of the CY = 1, AC = 0, and P = 0 flags after the addition of 147 and XX. Also, store the result in Bank 1 of R5. [5 Marks]
Expert Answer:
Related Book For
Brock Biology of Microorganisms
ISBN: 978-0321897398
14th edition
Authors: Michael Madigan, John Martinko, Kelly Bender, Daniel Buckley
Posted Date:
Students also viewed these electrical engineering questions
-
Calculate the amount of time it would take a cell of Escherichia coli (1 x 2 mm) swimming at maximum speed (60 cell lengths per second) to travel all the way up a 3-cm-long capillary tube containing...
-
Calculate the amount of iron (weight percent) to the nearest whole percent in each of the following iron minerals: Magnetite (Fe3O4), hematite (Fe2O3), goethite [FeO(OH)], and siderite (FeCO3).
-
Calculate the amount of work input a refrigerator needs to make ice cubes out of a tray of 0.25 kg liquid water at 10oC. Assume the refrigerator has = 3.5 and a motor-compressor of 750 W. How much...
-
How are Bit coins different from VCU1, VCU2, and VCU3 currencies? How are they similar? What is the primary economic threat of Bit coins?
-
From the ledger accounts prepared for P15- 3, prepare a trial balance. Extend the trial balance to an eight-column work sheet like that shown in Table 15- 16 , and use the work sheet to prepare the...
-
Laminar flow in a triangular duct (Figure 3B.2) 2 one type of compact heat exchanger is shown in Figure 3B.2 (a). In order to analyze the performance of such an apparatus, it is necessary to...
-
Study carefully the following balance sheet and state the transactions that resulted in each change. LondonCarRental Ltd Balance sheet as at as at 03.03.20x9 as at 04.03.20x9 05.03.20x9 as at...
-
Power Drive, Inc. produces a hard disk drive that sells for $175 per unit. The cost of producing 25,000 drives in the prior year was: Direct material ....... $ 625,000 Direct labor ........ 375,000...
-
Sonia rolls a six-sided number cube 12 times and records if she rolls a 2. What is the number of trials for this binom experiment? 02 6 12 18 2622
-
Project Alpha has two phases. You may invest in the first, in both, or in neither. The first phase requires an investment of $100 today. One year later, Alpha will deliver either $120 or $80, with...
-
The national highway traffic safety administration raised an average fuel efficiency standard to 35.5 miles per gallon (mpg) for cars and light trucks by the year 2016. The rules will cost consumers...
-
Describe the topic, concept, idea, or approach that is going to be the central idea of the Week 7 Field of Study Project. There is no minimum word count but please use several fully thought-out...
-
In the ballistic pendulum experiment (A.K.A conservation of momentum & energy), the velocity of the projectile was measured and recorded (vo = 4 m/s). The mass of the projectile was 13 g and the...
-
Suppose you have the opportunity to buy a bond with a par value of $1,000 and semi-annual coupon payments of $40 that matures in 10 years. Assume that the bond in problem 3 is selling for $1024....
-
Explain why demand for land consider as a Derived Demand?
-
A cookie company receives a profit of $4/bag for the first 5000 bags they make. If they make more bags, their profit/bag for all the bags produced will decrease by $0.0003 for each additional bag...
-
Anthony Walker, Sunland & Kevin's controller, has received all the budgets prepared by the various operating units and is ready to compile the pro-forma financial statements for the first quarter....
-
Use translations to graph f. f(x) = x-/2 +1
-
What are the functions of light-harvesting and reaction center chlorophylls? Why would a mutant incapable of making light harvesting chlorophylls (such mutants can be readily isolated in the...
-
Explain the role of the availability of nutritional factors in infection by microorganisms in the body.
-
What are the essential characteristics of an artificial chromosome? What is the difference between a BAC and a YAC?
-
Prepare a statement of estimated cash receipts and disbursements for October 2007 for the Aquarius Company, which sells one product, herbal soap, by the case. On October 1, 2007, part of the trial...
-
Computer Superstores Inc. has a strong belief in using highly decentralized management. You are the new manager of one of its small computer boutiques. You know a great deal about how to buy, how to...
-
Daphne Kite Company wants a master budget for the next three months, beginning January 1, 2008. It desires an ending minimum cash balance of $5,000 each month. Sales are forecasted at an average...
Study smarter with the SolutionInn App