Question: Assembly Language For this test, you can use(call), if needed, these functions (no need to rewrite them . ReadChar: this function allows you to read

Assembly Language  Assembly Language For this test, you can use(call), if needed, these

For this test, you can use(call), if needed, these functions (no need to rewrite them . ReadChar: this function allows you to read a character from the keyboard and receive its ASCII WriteChar: this function allows you to display on the console window (command window) a code in the register AL character whose ASCII code is stored in the register AL WriteHexByte: this function allows you to display on the console window (command window) the hexadecimal number stored in the register AL ReadHexByte: this function allows you to read an 8-bit hexadecimal integer from the keyboard and receive it in the register AL The objective of this test is to write a procedure that 1)(12 points) displays the message "Enter a sentence s:"(Assume s length is at most 254) 2) (12 points) prompts the user to enter the sentence s 3) (12 points) displays the message "Enter a character c 4) (12 points) prompts the user to enter the character c 5) (36 points) finds the index of the character c in the string s and stores it in AL 6) (16 points) displays the index of the character c in the string s For this test, you can use(call), if needed, these functions (no need to rewrite them . ReadChar: this function allows you to read a character from the keyboard and receive its ASCII WriteChar: this function allows you to display on the console window (command window) a code in the register AL character whose ASCII code is stored in the register AL WriteHexByte: this function allows you to display on the console window (command window) the hexadecimal number stored in the register AL ReadHexByte: this function allows you to read an 8-bit hexadecimal integer from the keyboard and receive it in the register AL The objective of this test is to write a procedure that 1)(12 points) displays the message "Enter a sentence s:"(Assume s length is at most 254) 2) (12 points) prompts the user to enter the sentence s 3) (12 points) displays the message "Enter a character c 4) (12 points) prompts the user to enter the character c 5) (36 points) finds the index of the character c in the string s and stores it in AL 6) (16 points) displays the index of the character c in the string s

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!