Question: Using assembly language (play) in the register EAX. atwith leading zeros. You must pass Note: the three procedures must be included in ONE project using
(play) in the register EAX. atwith leading zeros. You must pass Note: the three procedures must be included in ONE project using ONE assembly file. Try to create one procedure for each exercise. Write a main program calling the three procedures Programming Exercise I (15 points): The objective of this exercise is to write a procedure that I) Prompts the user with the message: "Please enter a sentence: 2) Reads a string S from the keyboard 3) Displays in decimal the length of the string entered 4) Displays in hexadecimal the length of the string entered 5) Displays the string s Programming Exercise 2 (20 points): The objective of this exercise is to write a procedure that I) Prompts the user with the message: "Please enter a sentence:" 2) Reads a string S from the keyboard 3) Prompts the user with the message: "Please enter a character:" 4) Reads a character c from the keyboard (use ReadChar) 5) Computes and displays in decimal the number of occurrences of character c in the string S. Programming Exercise 3 (25 points): The objective of this exercise is to write a procedure that l) Prompts the user with the message: "Please enter the first sentence:" 2) Reads the string SI from the keyboard 3) Prompts the user with the message: "Please enter the second sentence:" 4) Reads the string S2 from the keyboard 5) Concatenates SI and S2 into a new string S. 6) Displays S 7) Displays the length of String S in decimal and hexadecimal format
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
