How long the processor takes to execute the nop instruction

Assignment Help Microeconomics
Reference no: EM131660223

Assignment

The ‘delay' function as used in the workshops is limited because it depends on approximate timing based on how long the processor takes to execute the ‘NOP' instruction, and the limitations of the size of an integer means that the maximum delay will be approximately 65 seconds. Furthermore, the processor cannot do anything else while the delay is going on, and any interrupts run during the ‘delay' will cause the delay to be longer than intended. The Atmel ATmega168 does provide the facility to maintain more accurate and longer timings through the use of the crystal oscillator and the timer/counter circuitry in the processor.

Your task is to work out how to use these components so that programs can be written to accurately trigger events after an amount of time, specified in minutes and seconds. The system should be able to handle delays from a minimum of 1 second up to at least 60 minutes after ‘set'. The function should allow for the timer interval to be set (input) in minutes and seconds. Note: Assume the processor is setup as in the lab sessions (including crystal oscillator used with the frequency specified in Nerdkit Guide).

Your solution should include the following:

1. Overall description of the principles of operation of your solution.

2. Description of all timer/counters, registers, and interrupts used and their function.

3. Details of all configuration information to get the processor to perform this function (e.g. what needs to be written to different configuration registers, including explanations on WHY particular bits are set or cleared).

4. Description of the overall algorithm(s) to implement the function.

Note: This can be in the form of pseudocode. Code fragments (lines of code) can be used to demonstrate where appropriate. Note: You do NOT have to write the whole program for this assignment.

Reference no: EM131660223

Questions Cloud

The case structure is a selection structure : The CASE structure is a selection structure, however not all selection structures may be represented as CASE.
Importance of perfecting security interest as a creditor : The importance of perfecting your security interest as a creditor cannot be overemphasized, particularly when the debt is large and you wish to protect.
What valuation models are used by investors : What valuation models are used by investors when evaluating businesses at different stages of development?
Change their passwords often enough : 1. Front desk staff is giving out too much in- formation over the telephone 2. The room holding the network servers is unlocked
How long the processor takes to execute the nop instruction : The ‘delay' function as used in workshops is limited because it depends on approximate timing based on how long processor takes to execute the NOP instruction.
Application exhibit the issues the employees : He suspects switching to TCP could help, but is not entirely sure. Answer the following questions to help the project manager decide.
Write single file python program in jupyter notebook format : BUAN 6340 - Programming for Data Science Programming Lab. You will write a single file Python program in Jupyter Notebook format
Evaluate the collective power of your competitors : Evaluate the collective power of your competitors. Compare and contrast their collective market power versus your potential market power the business venture.
Implications do the revised rules have for bank customers : What implications do the revised rules have for bank customers in terms of liability for unauthorized signatures and indorsements?

Reviews

Write a Review

Microeconomics Questions & Answers

  Rsearch and explain the differences and significance of

research and discuss the differences and importance of ipps opps mpfs and dmepos. which provider type is paid by which

  Shift of the market demand curve

Which of these curves is the competitive firms supply curve -  When a single firm can supply a product to an entire market at a smaller cost than could two or more firms, the industry is called a(n)

  Consider a three-year fixed-payment security

The present value of a perpetuity that pays $F every year when the annual rate of discount is i is? Consider a three-year fixed-payment security that has a present value of $1,000. If the annual rate of discount is 7 percent, the payment made at the ..

  What should the correct one be

Give a precise answer to whether: the suggested price increase by $1 will raise additional revenues by $120 million from whatever units will be sold, why yes and why not.

  The american auto industry was in a dire economic state

In 2009 the American auto industry was in a dire economic state. Chrysler was in Chapter 11, GM was on the brink of bankruptcy, and Ford's future was at best uncertain. The demise of the U.S. auto industry would have a devastating impact on our natio..

  Describe the competitive environment within the industry

Describe the competitive environment within the industry and Explain whether the competitive environment in this industry benefits society or not.

  What monetary policy is

What monetary policy is, how it is related to banks, and how it affects interest’s rates, inflation, GDP and unemployment. Include information on what money is and why we use it along with the money multiplier.

  Which of the given is a central issue in macroeconomics

Which of the following is a central issue in macroeconomics? Which of following is NOT true in very short run? In the medium run, monetary policy can be used.

  Consider a firm that produces using only labor and capital

In the short run, a firm charges $4 per unit and sells 620 units of output. Its short run variable costs (SVC) are $2500; its short run fixed costs (SFC) are $3000; and its short run total costs are therefore $5500. From this information, we ca..

  Investment decision based on the macroeconomic data

How will you rank the countries for the investment decision based on the macroeconomic data, Justify. Present the scorecard you used in your analysis.

  What are the banks excess reserves

What are the banks excess reserves and what is the maximum amount of additional loans that the bank can make? Show your computation.

  What is diminishing marginal utility

Describe as way someone could use the concept of opportunity costs - What is diminishing marginal utility and how does it relate in someone personal life.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd