Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

. Implement two Simple 8-bit Assembly Language programs that convert an input string to lowercase, left- justified in the Output. We use the Simple


imageimage

. 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.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Auditing and Assurance services an integrated approach

Authors: Alvin a. arens, Randal j. elder, Mark s. Beasley

14th Edition

133081605, 132575957, 9780133081602, 978-0132575959

More Books

Students also viewed these Computer Network questions