Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 : image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 19th International Conference Dexa 2008 Turin Italy September 2008 Proceedings Lncs 5181

Authors: Sourav S. Bhowmick ,Josef Kung ,Roland Wagner

2008th Edition

3540856536, 978-3540856535

More Books

Students also viewed these Databases questions

Question

LO5 Describe job analysis and the stages in the process.

Answered: 1 week ago