Question: In this exercise you will write a program that reads in a string from the user using a READ syscall then you will process this

In this exercise you will write a program that reads in a string from the user using a READ syscall then you will process this string by writing a subroutine that turns the possible newline character (from the enter key) into a null character so that you can use the string with our various string functions. You will then run the input string through a version of strlwr() that you will create. Finally print out the string using a WRITE syscall with the help of the array counting code to ensure that you print the correct number of characters. Your code will include at a minimum the following subroutines:

A subroutine to replace the terminating newline character from the keyboard buffer with a null character

A subroutine to make our string lower case

A subroutine that counts the number of values in an array of bytes.

Your code must be assembled and linked using the dynamic linker (not GCC).

(ARM ASSEMBLY LANGUAGE)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!