Question: Assembly 8086 emulator program Questions : 1. Write an assembly program that reads a string from a user and then counts the number of words

Assembly 8086 emulator program Questions : Assembly 8086 emulator program Questions : 1. Write an assembly program that

1. Write an assembly program that reads a string from a user and then counts the number of words in it. A word is always preceded by a space except for the first word. If the number of the words in the string is odd, the program should print the string in reverse. Otherwise, it should print the word "Even" 2. For each of these instructions, determine the content of the CF, SF, ZF and OF. All instructions execute sequentially one after the other a. Mov ax,OFFh b. Inc ax c. Mov ax,OFER d. Mov bx, 098h e. Add ax,bx 3. Write an assembly program that calculates the average of two arrays, and the prints the values that are above average in the array with the smaller average. Assume that the arrays are defined as follows X db 34,23,534,33,2,3,52 Y db 43,2,33,442,33,223,44 4. It is required to interface 512KB of memory to a Pentium processor using 32k bytes RAM chips. 7CDE910Fh is a memory location inside the range being interfaced. Hint: See if you can work out the value of the range of the address, and then the rest of the numbers will be easy to derive. The Pentium processor has a 64 bit data bus, and a 32 bit address bus

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!