Question: Code in assembly 8086 Task on word input, and word count in a Paragraph 24 January, 2021 10:48 PM Paragraph: db 'city anti-pollution drive demands

 Code in assembly 8086 Task on word input, and word count

Code in assembly 8086

Task on word input, and word count in a Paragraph 24 January, 2021 10:48 PM Paragraph: db 'city anti-pollution drive demands certain steps from all the citizens of Lahore city. all house-holders should pack the waste in a plastic bag and put the bag in front of their house. the bag will be replaced with an empty bag by the municipal van every morning. they should maintain the cleanliness of the city. this will make the city pollution free',o Consider above paragraph and search it for a user defined specific word. Count the word and show the result on the screen. Steps: i. Take input a word from the user and save it in a character type variable. ii. Calculate the lengths of two strings "Paragraph" and user defined work. iii. Initialize two pointers and start comparing to count the occurrences. iv. Finally, display the count on screen in some base (decimal or Hexadecimal)

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!