Using 2''s complement binary arithmetic

Assignment Help Basic Computer Science
Reference no: EM13934779

1. Write a program in MIPS assembly that would ask user for number of Fibonaci numbers to be generated and will store it in $s0. The program will push that many number of Fibbonacci sequence into stack. Include complete program.

2. Write a program which defines total m and n integer numbers in pre-defined data area 'var_a' and 'var_b' in sorted order. The number m and n are stored in a location var_m and var_n. The program implements a merge sort between set_a and set _b and result of the sort (i.e. m+n unsigned integer in ascending sorted order) is stored in another predefined area 'var_c'. Include complete program.

3. Using 2's complement binary arithmetic
(a) Convert numbers a = 610 and b = -310 into 4 - bit two's compliment binaries.
(b) Find product of a and b using "paper and pencil" method, i.e. first calculating partial products and then performing summation of partial products. Assume that a and b are 4- bit two's compliment binaries. Show all necessary steps.
(c) Perform (i) zero- extension and (ii) sign- extension of numbers a and b to get 8- bit binaries. You should report 4 numbers.

4. Derive truth tables for the following Boolean functions.
(a) F(x, y, z) = (xy)' + z
(b) F(x, y, z) = (x'yz') + (xy'z)

5. Prove by Boolean algebraic manipulation that the following expressions are valid.
(a) x'y'z' + xy'z' + x'yz' + xyz' = z'
(b) (a'+c)(a'+d')(b+c)(b+d') = a'b + cd'

6. Using K-Map technique perform the following.
(a) Simplify the following function:
f (A, B, C, D) = Σ m (1, 2, 3, 4, 6, 7, 9, 11, 12, 13, 14, 15)
Show all the "prime-implicants" and "Essential prime implicants"
(b) Find a minimum SOP expression for:
f (w, x, y, z) = Σ m (0, 5, 10, 15) + d(2, 7, 8, 13)
Show all the "prime-implicants" and "Essential prime implicants"

7. Design and implement a digital circuit which will detect a 4 bit single digit numbers. Implement the circuit with NAND only logic gate. You need to show the schematic diagram for the final logic circuit along with all the steps to derive the logic equation of the implemented circuit.

Reference no: EM13934779

Questions Cloud

What is molecular reasons for this functional difference : Diagram the pathway of Glycolysis from glucose to pyruvate, giving structures and names of all pathway intermediates (enzyme mechanisms are not required) and names of enzymes (no abbreviations). Indicate where ADP, ATP, Pi, NAD+, or NADH is a subs..
Analyze the role of professional regulation : Analyze the role of professional regulation, the standard of care, and codes of ethics in healthcare providers' accountability to self, their profession, their patients, and the public
Scientific knowledge relating to altered health states : For the this assessment you must 1- detailing the scientific knowledge relating to altered health states. 2- Answers should cover the genetic, tissue, cellular, molecular and biochemical aspects of the disorder
Policy as result of failure to correct fire hazard : Bill Blum insured his hardware store with a fire insurance policy for $88,000 at a cost of $.84 per $100. Ten months later his insurance company cancelled his policy as a result of failure to correct a fire hazard. The cost of the policy to Bill was:
Using 2''s complement binary arithmetic : Write a program in MIPS assembly that would ask user for number of Fibonaci numbers to be generated and will store it in $s0. The program will push that many number of Fibbonacci sequence into stack. Include complete program.
Why is a pc based dbms like ms access often suggested : Why is a PC based DBMS like MS Access often suggested as a good candidate
The cost of the premium to howard : Howard Hane had taken out a $130,000 fire insurance policy for his new restaurant at a rate of $.82 per $100. Nine months later, Howard canceled the policy and decided to move his store to a new location. The cost of the premium to Howard is (use the..
Issuing a tax-exempt bond : Charles City Hospital plans on issuing a tax-exempt bond at the bond are $1,000. If required market rates are 6 percent, the value of the bond
Write a program to evaluate the polynomial : So far all the programs that we run on SPIM should be run on bare machine which has no user convenience. My slides on the 4th lecture notes show what settings you should choose. I am also attaching a screenshot here that shows the settings window.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Early proof of concept

Currently our organisation has a sample running application to sell books which has been designed as an early proof of concept. The application can be found in your installation at C:glassfish3glassfishdocsjavaee-tutorialexamplescase-studiesdukes-boo..

  Initial stage of software leading to its growth

My paper will focus of the initial stage of software leading to its growth and how it's used now. I also will focus on ideas of the direction Software Engineering will take technology. Technology grown rapidly from the day of the first compute..

  Find the point of intersection of the lines

find the point of intersection of the lines L1 : x(t) = 2-t y(t) = t ,z(t) = t-3 and L2 : x(u) = u + 1 , y(u) = 3u + 1 ,z(t) = u-2

  Compare activity of disk required for each of the relational

Compare the activity (quite theoretical) of the disk (in number of bytes) required for each of both relational. Indicate the advantages and the inconveniences of the new relational scheme.

  Similarities between a lumped and a distributed element

What are the differences and similarities between a lumped element and a distributed element. How many steps are required to design a) an RF circuit? b) A microwave circuit?

  What is a vpn

How do you reduce computer screen flicker. How do you minimize all windows. What is a VPN

  Discuss at last three advantages of a hard-wired lan

Discuss at last three advantages of a hard-wired LAN compared to a wireless LAN (WLAN) and visa-versa

  Shows four technological developments

Create a timeline that shows four technological developments that have had an impact on the way that people seek out marriage or life partners. The timeline should cover the period between 1900 and the present.

  What percentage of total cpu time is spent keeping clock

What percentage of the total CPU time is spent maintaining a clock that is accurate to a resolution of one millisecond?

  What is their philosophy or mission statement

Tell me about the company itself. Who owns it? How long they have they been in business? What is their philosophy or mission statement? Research what the Search Engine or Subject Directory does best or list the Advantages

  How to successful interface designer

how to successful interface designer

  Html5 can validate weather an email address true or false

HTML5 can validate weather an email address entered by the user actually exists. True or False

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