Write and test a program for the EASy68k to input a string f

Write and test a program for the EASy68k to input a string from the keyboard, convert all letters to uppercase and echo (output) the new string to the screen. Use a subroutine to perform the lower-to-upper case conversion. Write and test a program for the EASy68k to input a string from the keyboard and output a reversed string to the screen. Use a subroutine to perform the string reversal operation. Write and test a program for the EASy68k to input a string from the keyboard report the number of occurrences of the letter \'e\' or \'E\' Use a subroutine to perform the counting operation. Write a program to determine if a given data value is ODD or EVEN. Write a program to determine if a string is a Palindrome or not. (Eg. MALAYALAM is a palindrome). The string should be taken as input from the keyboard. If the entered string is a palindrome, then the program should display \"IT IS A PALINDROME!\" otherwise \"IT IS NOT A PALINDROME\". Write a program to find the average of a given set of numbers. Write a program to find the smallest and the largest number from a given set of numbers. Write a program to count the number of 1\'s in a given byte or word or long word. Write a program to set EVEN/ODD parity for a given data value. Write a program to check for parity error in an 8-bit data value sent using ODD parity scheme. Write a program to print the bits for any ASCII value entered from the keyboard. For example, if the user presses \'A\', then the program should display \"Binary value = 0 1 0 0 0 0 0 1\" because the ASCII value of \'A\' is 41 hex. The program should separate each bit by a space character (ASCII value of space is 20 hex).

Solution

1)

The two current implementations are MIPS32 and MIPS64, which support 32-bit and 64-bit operating instructions, respectively. MIPS uses a two-character alphanumeric codes to represent different letters and characters such as operands. Unfortunately, there is not a simple command to change letters from lowercase to uppercase. Each letter must be changed manually.

Run the program as below:

 Write and test a program for the EASy68k to input a string from the keyboard, convert all letters to uppercase and echo (output) the new string to the screen.

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site