Question: USING x86 Complete the function to check whether a given character is a vowel (a,e,i,o,u), a consonant (any english-alphabet letter that its not a vowel),

USING x86 Complete the function to check whether a given character is a vowel (a,e,i,o,u), a consonant (any english-alphabet letter that its not a vowel), or neither.USING x86 Complete the function to check whether a given character is

Perform a rotation of the 4 most significant nibbles of x, according to the value of r. If r=1 rotate by 1 position, if r=2 rotate by 2 positions, and if r=3 rotate by 3 positions. The 2 least significant bytes always remain the samea vowel (a,e,i,o,u), a consonant (any english-alphabet letter that its not a

PART 1: Given a character determine if it's a vowel, a consonant, or neither. If the character is :a vowel return 1, if it is a consonant return -1, if it's neither return 0. Lower and Upper case letters are allowed :Implementation details: : The input integer is stored in registers CL. You need to store the answer into register EAX. :Hint: : All the possible input values are in the ASCII table (http://www.asciitable.com.Looking at :it may help you define your conditional statements. int characterCheck(unsigned char character) int output; asm :mov eax, 2 mov cl, character // YOUR CODE STARTS HERE //YOUR CODE ENDS HERE mov output, eax return output

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!