An analogy to a cache system

Assignment Help Accounting Basics
Reference no: EM13919941

Task 1

Suppose the hypothetical machine in Figure 1.3 and Figure 1.4 of the text book (see below) is modified, where the memory address is now 8 bits instead of 12. Therefore, the instruction format subsequently becomes:
0001 0000 xxxx xxxx (or 10XX in Hexadecimal) = Load AC from memory location XX.
0010 0000 xxxx xxxx (or 20XX in Hexadecimal) = Store AC to memory location XX.
0101 0000 xxxx xxxx (05 50XX in Hexadecimal) = Add to AC from memory XX.
Also, the following new instructions are added:

0110 xxxx xxxx xxxx (or 6XXX in Hexadecimal) = Load Branch Control (BC) register with the value of XXX.

0111 0000 0000 0000 (or 7000 in Hexadecimal) = Increment BC by 1.

1000 xxxx yyyy yyyy (or 8XYY in Hexadecimal) = Jump to instruction at memory location YY (the Program counter (PC) value changes to YY) if BC is not equal to X, otherwise, the CPU executes the next instruction (the PC value increments by 1).

Design a set of instructions you would use to add the value stored in memory location "20" by the value stored at memory location "29" ten (15) times. That is, if is the value at location 20, and is the value location 29 then you are being asked to compute the value of
In your program, you must show the changes of all relevant memory and register values for at least two cycles or loops. You may assume the PC before executing the program has the value of "F0". You also need to give a word description for each instruction you design.
Explain the occurrence of locality of reference in this scenario.
Task 2
Describe a Cache System. Can you think of any real-life scenario (except the library-bookshelf scenario) where you can draw an analogy to a cache system?

Consider a memory system with the following parameters:
100 ns
0.01 cents/bit
ns
cents/bit

  • What is the cost of 1 MByte of main memory?
  • What is the cost of 1 MByte of main memory using cache memory technology?
  • If the effective access time is 10% greater than the cache access time, what is the hit ratio H?

Task 3
Assume that at time 5 no system resources are being used except for the processor and memory. Now consider the following events:

At time 5: P1 executes a command to read from disk unit 3.
At time 15: P5's time slice expires.
At time 18: P7 executes a command to write to disk unit 3.
At time 20: P3 executes a command to read from disk unit 2.
At time 24: P5 executes a command to write to disk unit 3.
At time 28: P5 is swapped out.
At time 33: An interrupt occurs from disk unit 2: P3's read is complete.
At time 36: An interrupt occurs from disk unit 3: P1's read is complete.
At time 38: P8 terminates.
At time 40: An interrupt occurs from disk unit 3: P5's write is complete.
At time 44: P5 is swapped back in.
At time 48: An interrupt occurs from disk unit 3: P7's write is complete.

For each time 22, 37, and 47, identify which state each process is in. If a process is blocked, further identify the event on which is it blocked.

 

Reference no: EM13919941

Questions Cloud

Construct a table that includes the summary statistics : Characteristics of residential properties - Construct a table that includes the summary statistics (mean, standard deviation, minimum and maximum) of all the variables. Explain briefly your findings
What positions are there in a communication network : What positions are there in a communication network and how and to what extent do they effect/influence the workings of that network?
Identify corporate strategies that formulate by michael dell : Identify the corporate strategies that have been formulated by Michael Dell - the CEO of Dell Computer Corporation that led to the success of the company. Indicate any obstacles they had to overcome.
Buddhism-hinduism and judaism : Consider the three religions, Buddhism, Hinduism, and Judaism. In an essay of approximately 700 to 800 words in length, answer the questions listed above. Be sure to use appropriate APA format for citations and to include at least one reference fo..
An analogy to a cache system : Design a set of instructions you would use to add the value stored in memory location "20" by the value stored at memory location "29" ten (15) times. That is, if is the value at location 20, and is the value location 29 then you are being asked..
Strategic viewpoint of game theory : The "Prisoner's Dilemma" was the gateway to the strategic viewpoint of game theory. In this assignment, you will explore the applications of game theory to economic business decisions.
What are the different sources of power and find examples : What are the different sources of power? Find examples! Can this concept be applied to areas other than industrial-buying decisions?
Confidence interval for the mean amount stolen : Find and interpret a 95% confidence interval for the mean amount stolen. Find and interpret a 95% confidence interval for the mean number of bank staff present at the time of robberies.
Discuss effects on emc''s planning and operating processes : Discuss the effects on EMC's planning and operating processes if EMC implements a "demand pull" production system. Identify and describe at least five benefits to EMC that should result form the demand pull" production operating approach

Reviews

Write a Review

Accounting Basics Questions & Answers

  In this era of rapidly changing technology research and

in this era of rapidly changing technology research and development rampd expenditures represent one of the most

  Identify the source of any difference between the companies

Daggar capitalizes the lease, whereas Bayshore records the lease as an operating lease. Both firms depreciate assets by the straight-line method, and both treat the lease as an operating lease for federal income tax purposes.

  Pepare an income statement for 2012 assuming that the

variable costing versus absorption costing. the mavis company uses an absorption-costing system based on standard

  Wellman corporations budgeted balance sheet for the coming

wellman corporations budgeted balance sheet for the coming year shows total assets of 4650000 and total liabilities of

  Gaap for investments in equity securities

Which is not a GAAP for investments in equity securities? a. replacement value method b. market value method c. Equity method d. consolidation

  Why pension accounting is given much less emphasis

This assignment is not designed to require you to go to the library or to access International Accounting Standards. If you spend your time just thinking about the issue, the answers should become apparent.

  Amount of bond interest expense recorded

What is the amount of bond interest expense recorded on the first interest payment date?

  What journal entry should be recorded g at the beginning of

1in 2013 company a sold inventory costing 100 to its fully-owned subsidiary company b for 150. the entire inventory

  Pinson corporation was organized on january 1 2010 it is

pinson corporation was organized on january 1 2010. it is authorized to issue 20000 shares of 6 50 par value preferred

  Computing depreciation expense on asset

Company purchased a depreciable asset for $600,000. The estimated salvage value is $30,000, and the estimated useful life is 10,000 hours. Bigbie used the asset for 1,100 hours in the current year. The activity method will be used for depreciation..

  Gain or loss actual or constructive

What is the book value of its liability? If an affiliated company purchases half the bonds in the market at 98, what is the gain or loss? Is the gain or loss actual or constructive?

  Robert jones has just rendered service for a taxpayer as an

robert jones has just rendered service for a taxpayer as an expert witness in a case heard by the u. s. tax court. the

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