Write an assembly language program which adds three numbers


Please answer all questions:

1. As an example, consider a two-level cache in which the L1 hit time is 5 ns, the L2 hit time is 20 ns, and the L2 miss time is 100 ns. There are 10,000 memory references of which 10 causes L2 misses and 90 causes L1 misses. Compute the hit ratios of the L1 and L2 caches and the overall effective access time.

2.

a. What is an assembly language

b. Write an assembly language program, which adds three numbers and stores the result at ADDD. The numbers are defined at three consecutive locations

3. a. What is an interrupt?

b. Differentiate between:

i  Maskable and non-maskable interrupt

ii. Instruction and pseudo-instruction

4.        

a. What is Booth's Algorithm for two 4 bits Numbers?

b. Using the above algorithm, multiply -7 by -3

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Write an assembly language program which adds three numbers
Reference No:- TGS01389445

Now Priced at $40 (50% Discount)

Recommended (93%)

Rated (4.5/5)