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

  The free rider problem

Question: Explain why the free rider problem makes it difficult for perfectly competitive markets to provide the Pareto efficient level of a public good.

  Failure of the super committee is good thing for economy

Some commentators have argued that the failure of the “Super committee” is good thing for the economy?  Do you agree?

  Case study analysis about optimum resource allocation

Case study analysis about optimum resource allocation: -  Why might you suspect (even without evidence) that the economy might not be able to produce all the schools and clinics the Ministers want? What constraints are there on an economy's productio..

  Fixed cost and vairiable cost

Questions:  :   Which of the following are likely to be fixed costs and which variable costs for a chocolate factory over the course of a month?  Explain your choice.

  Problem - total cost, average cost, marginal cost

Problem - Total Cost, Average Cost, Marginal Cost: -  Complete the following table of costs for a firm.  (Note: enter the figures in the  MC   column  between  outputs of  0 and 1, 1 and 2, 2 and 3, etc.)

  Oligopoly and demand curve problem

Problem based on Oligopoly and demand curve,  Draw and explain the demand curve facing each firm, and given this demand curve, does this mean that firms in the jeans industry do or do not compete against one another?

  Impact of external costs on resource allocation

Explain the impact of external costs and external benefits on resource allocation;  Why are public goods not produced in sufficient quantities by private markets?  Which of the following are examples of public goods (or services)? Delete the incorrec..

  Shifts in demand and movements along the demand curve

Describe the differences between shifts in demand and movements along the demand curve. What are the main factors which can shift the demand curve? Explain why they cause the demand curve to shift. Use examples and draw graphs to support your discuss..

  Article review question

Article Review Question: Read the following excerpts from the article "Fruit, veg costs surge' by Todd, Dagwell, published in the Herald on January 25th 2011 and answer questions below:

  Long-term growth, international trade & globalization

Long-term Growth, International Trade & Globalization:- This question deals with concepts such as long-term growth, international trade and globalization. Questions related to trade deficit, trade surplus, gains from trade, an international trade sce..

  European monetary union (emu) in crisis

"Does the economic bailout of Spain and Greece spell the beginning of the end for the European Monetary Union (EMU)?"

  Development game “settlers of catan”

Read the rules of the game, the overview and the almanac for the Development Game "Settlers of Catan"

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