Covert the subsequent decimal numbers into binary numbers

Assignment Help Basic Computer Science
Reference no: EM13700782

Answer the following questions and also justify your answers with appropriate examples

Please describe

Question 1: Write the subsequent sequence of codes into MIPS assembler:

a. x = x + y + z - q;

Assume that x, y, z,and q are stored in registers $s1-$s4.

Part 2:   k = h +3

Assume that k, h are in $s1 and $s2;

Part 3:   p = j - (g-5)

Assume that p, j and gare in $s1-$s3;

Part d: A[5] = B + A[7];

Suppose that the base address of Ais in $s2, Bis in $s3. 

Question 2: Please covert the subsequent decimal numbers into binary numbers:  (using 2 bytes = 16 bits)

(Show all steps)

Unsigned 3,578 9,234

Signed -1,899 -853

Question 3: Please covert the subsequent binary numbers into decimal numbers:

Unsigned 1011100100000010 100011110011

Signed 1011100100000010 100011110011

Question 4: Write the results of the two numbers (in decimal) after the BIT operations:

234 AND128 NOT200 64 OR170

(Note, you need to change them into binary to do the operations, then change them back to decimal)

Reference no: EM13700782

Questions Cloud

Calculate the number of grams of carbon required to react : Question- Calculate the number of grams of carbon required to react completely with 5.5 grams of iron(lll) oxide according to
Write a switch-case statement : Create a script named 'descent.m'. Give a brief but concrete example when switch?case statements should be preferred to if? elseif statements. Use block comments to enter your answer in the script.
An estimation of the laminar flame speed of an alkane : Question- An estimation of the laminar flame speed of an alkane, based on a simple energy balance, gives the correct order-of-magnitude of 10^0 m/s.
How many moles of sbcl5 and sbcl3 : Question- Starting with 0.290mol SbCl3 and 0.170mol Cl2, how many moles of SbCl5, SbCl3, and Cl2 are present when equilibrium is established at 248?C in a 2.50?L flask?
Covert the subsequent decimal numbers into binary numbers : Write the results of the two numbers (in decimal) after the BIT operations and please covert the subsequent decimal numbers into binary numbers:  (using 2 bytes = 16 bits)
Calculate the heat needed to raise the temperature : Question- The specific heat of aluminum is 0.900J/g degrees C. Calculate the heat needed to raise the temperature of a 45.0 g block of aluminum from 20.5 degrees C to 297.4 degrees C
What is the maximum number of moles of al2o3 : Question- If 4.5 moles of Al and 3.3 moles of Fe2O3 are allowed to react, what is the maximum number of moles of Al2O3 that can be produced
Rational class performs operations on fractions : Write a C++ program that, using the rational class performs operations on fractions. Test your class thoroughly.
What compounds result from the reaction : Question- What happens to sodium azide when it is dissolved in water? What compounds result from this reaction?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  What actual bit strings would a computer transmit

When one computer is transmitting a message to another, the information is usually encoded in ASCII. What actual bit strings would a computer transmit to send the message HELLO, using ASCII with even parity?

  Solve equations and show that no solution exists

Solve the following equations for x and y or show that no solution exists. Show your work (in particular, what division must you carry out to solve each case). (i) 5x + 23  6 mod 47

  Pipelined machine versus the single cycle machine

What is the speedup of the pipelined machine versus the single cycle machine assuming there are no stalls?What is the speedup of the pipelined machine versus the single cycle machine if the pipeline stalls 1 cycle for 30% of the instructions?

  Write script that enables user to enter eigher a fahrenheit

Use these functions to write a script that enables the user to enter eigher a Fahrenheit or a Celsius temperature and displays the Celsius or Fahrenheit equivalent.

  Purpose and goals of the mobile self-service

Elaborate on the guidelines for how the self-service Website can be kept current as newer mobile devices are being introduced at a rapid rate and the design of the Website for mobile devices and the interfaces that are applicable to the mobile devic..

  Design a stop-and-wait-like error control protocol

Design a stop-and-wait-like error control protocol for reliably transferring a packet from A to B and C such that A will not accept the next payload from the upper layer until both B and C have correctly received the current payload. Describe the ..

  Describe the necessity of secure architecture

Describe the necessity of secure architecture in information systems

  Write a program that accepts as input the mass

Write a program that accepts as input the mass,in grams, and density, in grams per cubic centimeters, and outputs the volume of the object using the formula: volume=mass/density. format your output to two decimal places

  Explaining records are stored and accessed on storage medium

Which of the given correctly explains a way in which data records are stored and accessed on storage medium?

  Compare and contrast their relative strengths and weaknesses

The system to be developed is intended to be operational in a small market firm or small business firm or even in home usage. Familiar examples might include an income tax preparation package by a small tax consulting firm.

  How can force diagrams be useful

Discuss the security issues of nonfunctional goals in relationship to the force diagram and tensions in the business enterprise. Describe and explain what a nonfunctional goal is. How can force diagrams be useful?

  Write a function create audio colla()

Write a function createAudioCollage() that will create an audio collage.

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