Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started