Write a mips program that will alter an array of 100 doubles

Assignment Help Basic Computer Science
Reference no: EM13161332

Write a MIPS program that will alter an array of 100 doubles. No input or output is required. We will assume somebody else did it. Your program modifies the elements in the array as described below. 

Positive elements in the array are to be replaced by their square root (Do it the easy way).

Negative elements in the array are to be squared. Zero is unchanged.

For example, if the first two elements of the array originally contain: (-1.5, 16.0 ...)

The resulting elements will be:         ( 2.25, 4.0 ...)

    .data

    .align   3

A:    .space 800

Zero: .double 0.0

EXTRA POIN IF ANSWRED IN LESS 10MINS

 

 

Reference no: EM13161332

Questions Cloud

What is the morphology of the malaria parasite : In what way does malaria affect normal human functioning ie. mcellular respiration, metabolism, e.t.c.?
State potassium phosphate buffer solution : As a technician in a large pharmaceutical research firm, you need to produce 450. of 1.00 potassium phosphate buffer solution of = 7.38. The of is 7.21. You have the following supplies: 2.00 of 1.00 stock solution
Draw a sketch to represent the stress distribution : Calculate the magnitude of the moment acting at the build-in end and specify the orientation of the moment vector relative to the principal centroidal axes of the section with the aid of a sketch and determine the stresses at each corner of the bu..
What are the risk factors for malaria : How do you test for the diagnosis of malaria?
Write a mips program that will alter an array of 100 doubles : Write a MIPS program that will alter an array of 100 doubles. No input or output is required. We will assume somebody else did it. Your program modifies the elements in the array as described
What are the stages of mitosis : what are the stages of mitosis? and how do they differ from meiosis?
Indicate what type of fat substitute you found : Select two sets of products from your daily diet such as butter/ salad dressing and find similar products that use fat substitutes. Make a list of all the fat substitutes that you find listed on the ingredient labels of the products.
What is the ph of the buffer after the addition of hi : What is the pH of the buffer after the addition of 0.02 mol of NaOH? C)What is the pH of the buffer after the addition of 0.02 mol of HI? Express Numerically
What is the structure of the eukaryote : Give examples of medications that malaria is resistant to and the medications it is susceptible to.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Compute expected payback percentage of machine

Compute the expected "payback" percentage of the machine. In other words, for each coin played, what is the expected coin return?

  Sequence of events necessary to establish communication

Multiple KDC Domains to chain of three KDC. In other words, suppose that Alice wants to talk to Boris through a chain of 3 KDCs. Provide sequence of events necessary to establish communication.

  Project in designated area of coastal zone is significant

Have you contacted State Historic Preservation Office (SHPO) to see if the project is in designated area of coastal zone which is significant to the study, understanding, or illustration of national, state.

  Issue -internet changed political interactions globally

Write a 500 word essay based on the issue of ways in which the internet has changed political interactions globally. These might involve political activity in several specific countries,

  How procedure calls go before registers saved in memory

How deep can the procedure calls go before registers must be saved in memory? (That is, what is the maximum number of "active'' procedure calls that can be made before we need to save any registers in memory?)

  State of six conditional flags after instructions executes

Forecast the state of six 8086 conditional flags after each of instructions which are given below executes. MOV AL,AH b. ADD BL,CL c. ADD CL,DH d. OR CX,BX

  Creating project organization in enterprise business

Organization structures generally used to create a project organization in an enterprise business environment.

  Explain why companies get better results-information system

Using three components of information systems and complementary assets concepts, explain why some companies achieve better results with information systems than others.

  Evaluate the cost of materials

Evaluate the cost of materials

  How applications of technology used to overcome barrier

Explain how applications of technology could be used as the means to overcome each of these barriers. Write at a minimum the applications which use word processing.

  Determining smallest-last vertex ordering

Determine a smallest-last vertex ordering and plot degree when deleted diagram for given random geometric graphs.

  Feature set of free helix forensics cd

Visit Helix web site and read about feature set of free Helix forensics CD. Note that documentation for Helix is not on CD, to keep it down to ~700MB.

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