Write an assembly program that has a subroutine named rmndr

Assignment Help Computer Engineering
Reference no: EM131249227

Assignment Digital Systems Design

1. Implement the following function in Assembly. Where out, a, b, c are all Unsigned Integers of 32 bits. out = c * (a + b << 2);

2. Write an assembly program that reverses an array M. Assume size of M is 10 bytes and use stack related instructions only.

3. Compare three register values in R0, R1 and R2, find the largest one, and store it into R3.

4. Write an assembly program that has a subroutine named rmndr which computes the remainder for a variable N when it is divided by 10 and stores the result into a variable M. Your implementation should have basic ARM instructions.

5. Write an assembly program that has a subroutine named pow which computes M^N for two variables and stores the result in P variable. Assume M, N, and P are 32-bit unsigned. Your implementation should have basic ARM instructions.

6. Write a C program that prints the following in the screen:

*****
****
***
**
*

7. Write a C program that checks a character X and if it finds bit 0 or bit 1 of X is 1, then it sets bit 7 and 6 to 1 otherwise 0. Use bitwise operators for it.

8. Write a C program that checks a character X and if it finds bit 0 of X is 1, then it toggles bit 3 repeatedly else sets bit 3 to 1. Use bitwise operators for it.

9. Write a C program that has a function abs(float X) which returns the absolute value of a real number X, where X is a user input. Don't use the built-in abs() function.

10. Write a C program that prints the prime factor of an integer X. For example, X = 20 it should print 2, 2, and 5.

Reference no: EM131249227

Questions Cloud

Critique of the employee retention committee meeting : Perform a detailed critique of the Employee Retention Committee meeting. List the occurrences or omissions that you believe indicate faulty committee practice, and state why you believe so and what should have been done differently
Conduct hand-washing audits of the nursing units : After working in a hospital for six months, you have been selected to head the team to conduct hand-washing audits of the nursing units. Whom do you want on your team, and why?
Find an expression for the tension in the cord : The mass of the shaft and collar may be neglected. The cord keeps the rod at an initial angle of 30? with the vertical while the shaft is initially rotating freely at angular velocity φ? = 200 rad/s. The cord suddenly breaks.
Succession planning procedure : In a minimum of 500 words, document a succession plan for an employee (e.g., IT Developer, Maintenance Crew, Training Specialist, CEO) of your chosen firm. What concepts are crucial when recruiting team members? Be sure to address the following qu..
Write an assembly program that has a subroutine named rmndr : Write an assembly program that has a subroutine named rmndr which computes the remainder for a variable N when it is divided by 10 and stores the result into a variable M.
Develop block 16 in ecuadors tropical rain forest : What conflicts must Conoco resolve in deciding whether or not to develop block 16 in Ecuador's tropical rain forest and what objectives and whose interests appear to be carrying the most weight in this case? Which should dominate?
Find the maximum speed for a typical atv : Find the maximum speed for a typical ATV (with a wheelbase L of 3.5 ft and d of about 4 ft), assuming a sharp turn with radius of curvature of 5 ft.
Assignment-agile versus waterfall : "WATERFALL vs. AGILE METHODOLOGY" (You may also view the article at http://agileintro.wordpress.com/2008/01/04/waterfall-vs-agile-methodology/.)
Respond to murray essay : Assignment: Respond to Murray's essay by telling the story of your choosing to be a college student. Remember to highlight 2-3 "big moments" in your life as you talk about your influences, motives, and goals

Reviews

Write a Review

Computer Engineering Questions & Answers

  1 consider the following network example with the indicated

1. consider the following network example. with the indicated link costs along each link in the figure use dijkstras

  Find out where html injection is possible

Find out where HTML injection is possible within the service APIs. Write down an HTTP request that inserts an arbitrary image into the UI you constructed

  Write down the largest and the smallest numbers to screen

Write down a Java program that will search a text file of strings representing numbers of type int and will write the largest and the smallest numbers to the screen.

  How to generate paper for pair of public or private rsa key

How to generate paper for a pair of public or private RSA keys? The high-class reporter for foreign affairs learned about asymmetric cryptography, and proposed to security team at the paper to generate for a pair of public or private RSA keys.

  Towers of hanoi problem

If a program solves the towers of Hanoi problem for 30 disks in 1 minute, how long does it take to solve the problem with 24 disks.

  Suppose the network is packet-switched virtual circuit

there is a wide area network in which a special route was selected.propagation delay is so small that it could be

  Questionsoftware biotechnology and information technology

questionsoftware biotechnology and information technology hardware industries are examples of type of knowledge

  Discuss your strategy for detecting the polymorphic virus

For your write-up on this assignment, discuss your strategy for detecting the polymorphic virus. What approach did you use and what commonality did you search for

  Solve the problem using qm for windows

A LP problem has three constraints: 2X + 10Y ≤ 100; 4X + 6Y ≤ 120; 6X + 3Y ≤ 90 and the non-negativity constraints. The objective is to Maximize X. Solve the problem using QM for Windows

  Write a paragraph describing the interaction with each thing

Write a paragraph (5-8 sentences) describing the interaction with each thing. Was it successful or not? In what ways? Where did breakdowns occur?

  It architecture and why it is so important

As with any major initiative with many steps, various people and departments involved, and tasks that are designed and implemented over a long period of time, there are pitfalls that are possible.

  Give an evaluation of whether the language met its goal

A short history of the language, including which languages it may have been based on and that languages it may have subsequently influenced. This may be part of the introduction or the background.

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