. Implement two Simple 8-bit Assembly Language programs that convert an input string to lowercase, left-...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
. Implement two Simple 8-bit Assembly Language programs that convert an input string to lowercase, left- justified in the Output. We use the Simple 8-bit Assembler Simulator The programs must use a loop. The programs should work for any given input string of length 0 to 24. The original input string must not be modified. Incremental development is strongly encouraged. Java/Python Style String . Use Java/Python-style string without a null byte at the end. The length of the string must be calculated via assembly programming. Loop index must sequence from 0 to input string length [for i in O..stringLength-1] C Style String Use C-style string with a null byte at the end. Do not use the input string length in your program. . Example string "{Simple 8-bit Assembly}" Submit both a high-level language solution and a Simple 8-bit Assembly Language solution for each program. Q3. (25 points) The agriculture department tells the grower that the height of a plant he is plans to grow follows this equation. height = 2 * time + fertilizer the height is in inches the time is in months the fertilizer in in ounces Write an ARM assembly language program to calculate the expected height of the plant for any length of time and fertilizer application. You are guaranteed that time and fertilizer values will never be negative. The final height should be in register RO. Assume that the time will be in R1 and fertilizer will be in R2. You may use other registers (except R13-R5) if you need for your program. Although the program should be able to calculate height for any values of time and fertilizer, to test the program you may use time=36 and fertilizer=8. Write an ARM assembly language program on the next page. The program structure and syntax must be correct, and ready to be executed on Keil. . Implement two Simple 8-bit Assembly Language programs that convert an input string to lowercase, left- justified in the Output. We use the Simple 8-bit Assembler Simulator The programs must use a loop. The programs should work for any given input string of length 0 to 24. The original input string must not be modified. Incremental development is strongly encouraged. Java/Python Style String . Use Java/Python-style string without a null byte at the end. The length of the string must be calculated via assembly programming. Loop index must sequence from 0 to input string length [for i in O..stringLength-1] C Style String Use C-style string with a null byte at the end. Do not use the input string length in your program. . Example string "{Simple 8-bit Assembly}" Submit both a high-level language solution and a Simple 8-bit Assembly Language solution for each program. Q3. (25 points) The agriculture department tells the grower that the height of a plant he is plans to grow follows this equation. height = 2 * time + fertilizer the height is in inches the time is in months the fertilizer in in ounces Write an ARM assembly language program to calculate the expected height of the plant for any length of time and fertilizer application. You are guaranteed that time and fertilizer values will never be negative. The final height should be in register RO. Assume that the time will be in R1 and fertilizer will be in R2. You may use other registers (except R13-R5) if you need for your program. Although the program should be able to calculate height for any values of time and fertilizer, to test the program you may use time=36 and fertilizer=8. Write an ARM assembly language program on the next page. The program structure and syntax must be correct, and ready to be executed on Keil.
Expert Answer:
Related Book For
Auditing and Assurance services an integrated approach
ISBN: 978-0132575959
14th Edition
Authors: Alvin a. arens, Randal j. elder, Mark s. Beasley
Posted Date:
Students also viewed these computer network questions
-
answer the question clearly You are building a flight-control system for which a convincing safety case must be made. Would you assign the tasks of safety requirements engineering, test case...
-
Selling price Variable costs: Direct materials Direct labour Variable manufacturing overhead Total variable cost Contribution margin Contribution margin ratio Contribution margin per labour hour O...
-
The drawing shows a bar magnet falling through a metal ring. In part a the ring is solid all the way around, but in part b it has been cut through. (a) Explain why the motion of the magnet in part a...
-
A garden hose \(30.0 \mathrm{~m}\) long and \(40.0 \mathrm{~mm}\) in diameter attached to a faucet carries water that enters the hose at \(2.00 \mathrm{~m} / \mathrm{s}\). The hose was previously cut...
-
In this chapter we have touched on several important developments in sustainability reporting. Describe any recent developments by visiting the following websites. GRI, www.globalreporting.org ...
-
At each calendar year- end, Mazie Supply Co. uses the percent of accounts receivable method to estimate bad debts. On December 31, 2013, it has outstanding accounts receivable of $ 55,000, and it...
-
You plan to deploy a dockerized application in an AWS ECS cluster. The application needs access to an S 3 bucket to read files. The ECS containers should have the AmazonS 3 ReadOnlyAccess permission....
-
Example of Epic Proportions Twenty-five years ago Ronaldo, an accomplished cyclist, purchased a small custom carbon fiber wheel builder Zircles Inc. He applied their expertise in carbon fiber to...
-
1 . 1 . Explain what the accrued interest income represents. Illustrate your explanation showing with your own figures the impact of the adjusting entry on the financial statements. 2 . 2 . Explain...
-
What will be the start up plan and the financial plan for the following start up business: The restaurant concept incorporates four different cuisines, each having one signature dish along with at...
-
List, explain/define, and give a detailed example of the 5 conflict styles.
-
1. What is service innovation? What are some of the mechanisms that enterprises use to innovate their services? 2. What roles do you think information technology and information systems play in...
-
to the question 1, Explanation: Based on the previous diagnosis and emotional state of the employees, the following organizational interventions are recommended: a) Reorganize into project-focused...
-
Make announcements for employees in the company This is the case: There is "ABC Training" going on for 2 months and the company divides the training program into 2 part (new employee and refresher...
-
Child Care is a local non-profit organization solely managed by Mr. Mohammed. Before 10 years, his family contributed property and savings to establish this non-profit organization which aims to...
-
On October 31 Juanita Ortega, owner of Outback Guide Service, received a bank statement dated October 30. Juanita found the following: 1. The checkbook has a balance of $2,551.34. 2. The bank...
-
Multiple Choice Questions The following questions concern internal controls in the acquisition and payment cycle. Choose the best response. a. Which of the following controls will most likely justify...
-
Describe what is meant by acceptable audit risk. Explain why each of the following statements is true: Required a. A CPA firm should attempt to achieve the same audit risk for all audit clients when...
-
In an annual audit at December 31, 2011, you find the following transactions near the closing date: 1. Merchandise costing $1,822 was received on January 3, 2012, and the related acquisition invoice...
-
What concept does density represent?
-
What are the seven SI base units and the physical quantities they represent?
-
Make an order-of-magnitude estimate of the mass of earth in kilograms.
Study smarter with the SolutionInn App