Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Accounting Basics Expert

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.

 

Accounting Basics, Accounting

  • Category:- Accounting Basics
  • Reference No.:- M91592840
  • Price:- $25

Priced at Now at $25, Verified Solution

Have any Question?


Related Questions in Accounting Basics

Question - chase has a 42500 line of credit which charges

Question - Chase has a $42,500 line of credit which charges an annual percentage rate of prime rate plus 5%. His starting balance on June 1 was $2,550. On June 4, he borrowed $5,300. On June 9, Chris made a payment of $8 ...

Question - the calculated variable cost per unit of 18 high

Question - The calculated variable cost per unit of $1.8. High Level of activity is: 1,691 units and $7,147cost. If the low level of activity was 530 units, calculate the fixed cost at the low level of activity?

Question - texas roadhouse opened a new restaurant in

Question - Texas Roadhouse opened a new restaurant in October. During its first three months of operation, the restaurant sold gift cards in various amounts totaling $2,900. The cards are redeemable for meals within one ...

Question - for the year ended may 31 2015 nike inc

Question - For the year ended May 31, 2015, NIKE, Inc. financial statements included the following data: NIKE, Inc. Selected financial data Revenues 30,601 Cost of sales 16,534 Gross profit 14,067 Total selling and admin ...

Question - selfish gene company is a merchandising firm the

Question - Selfish Gene Company is a merchandising firm. The following events occurred during the month of May. (Note: Selfish Gene maintains a perpetual inventory system.) May 1. Received $40,000 cash as new stockholder ...

You are preparing golf clubs financial reports for june

You are preparing Golf Club's financial reports for June 2017, and the 30 June 2017 bank statement has just arrived with the balance of $29,930. Currently, Golf Club's Cash account shows a balance of $30,690. Additional ...

Question - the allowance for doubtful debts account had a

Question - The allowance for doubtful debts account had a balance of $2200 before bad debts of $1400 were written off and the allowance was adjusted to 10% of the accounts receivable balance of $20 000. Compute the new a ...

Question the availability of funds effects the capital

Question: The availability of funds effects the capital budgeting decisions. The amount of funds available for capital expenditures will be either limited or unlimited. Funds would be considered unlimited when a firm is ...

Question use the amalgamated hat rack financial statements

Question: Use the Amalgamated Hat Rack financial statements, as detailed in Chapter 1 of the text, to answer the following questions: 1. How much is the Net Income for 2002? 2. List the two types of sales that the compan ...

Question - kiddie world uses a periodic inventory system

Question - Kiddie World uses a periodic inventory system and the retail inventory method to estimate ending inventory and cost of goods sold. The following data are available for the quarter ending September 30, 2018:   ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As