Question: in Assembly language X86 processors starting with _asm{} Project No. 4 (loop structures) Write assembly programs for each of the following. All functions must be
in Assembly language X86 processors starting with _asm{}
Project No. 4 (loop structures) Write assembly programs for each of the following. All functions must be written in assembly 1. Read a string of 10 'y'( for YES votes) and 'n'l for NO votes). Count the number of YES and NO votes and ten displayaccording to the frequency of the votes Sample Vo Enter a string of votes: ynnyynyyvy No. of YES votes 7 No. of NO votes-3 2. Read a sentence with period at the end. Display the sentence so that all vowels are in uppercase Sample I/o Enter a sentence: proud is self-respect. Output: prOUd Is sElf-rEspEct. 3-Practice Addition&Subtraction a. Practice Addition b. Practice Subtraction Enter your choice(a/b): a 22 33? 55 CORRECT Continue(y)? y 11+55-?75 WRONG Continuely)? N No. of CORRECT answers 1 No. of WRONG answers 1 Are you donely)? n Enter your choice(a/b):b 44-33 ? 12 WRONG Continue(y)? y 11- 30?29 WRONG Continue(y)? n No. of CORRECT answers- No. of WRONG answers 2 Have a nice day Choices are lowercase Are you done(y)? Y NOTES.-Numbers are random integers between 1 and 100 - Continuation choices are case sensitive
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
