Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

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

Oracle Database 19c DBA By Examples Installation And Administration

Authors: Ravinder Gupta

1st Edition

B09FC7TQJ6, 979-8469226970

More Books

Students also viewed these Databases questions