Question: Can you answer this in a asm code please? The following video shows a procedure called isUpper that checks to see if an uppercase character

Can you answer this in a asm code please? The following video shows a procedure called isUpper that checks to see if an uppercase character passed to it in the al is uppercase.
Video - isUpper
<
Use the information from the above video to create the following procedures
isUpper - you should pass the character to test in the al and return 0 in the eax if the character is not an uppercase character and one if it is.
isArithmetic - you should pass the character to test in the al and return 0 in the eax if the character is not an arithmetic operator (+,-,*,/) and one if it is.
isVowel - you should pass the character to test in the al and return 0 in the eax if the character is not a vowel and one if it is a vowel (a, e, i, o, u, A, E, O, I, U)
In main create some code to test your functionality. You should enter a character and test to see if it is a vowel, an arithmetic operator, or a digit character. You should also report if it is something else, like a punctuation character. Your code must allow for a single-character input.
Sample Run 1:
Enter a character
3
is a digit
Sample Run 2:
Enter a character
A
is a vowel
Sample Run 3:
Enter a character
+
is arithmetic
Sample Run 4:
Enter a character
C
Not a vowel, digit or arithmetic character. Must be something else.
You are not allowed not use .IF and .ELSE constructs.
Your procedures should NOT have any writeString or writeLine calls in them. Your procedures should also not use any global variables. A global variables is a variable defined in the data segment of the program.
The use of legacy directives like DB and DW is not allowed in this class. A deduction of 40% will be given if you use them.
The use of indirect addressing around variables is NOT allowed in the class unless you are using indirect addressing. An example of this would be [val1]. Doing this will result in a 25% reduction in your grade.
You are also required to comment every line of code you write. Failure to do so will drop your grade 20%

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 Programming Questions!