Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

code In 8086 Assembly Question 1: 40-Marks Write a function PrintAddress that takes two parameters, the segment and offset parts of an address, via the

image text in transcribed

image text in transcribed

code In 8086 Assembly

Question 1: 40-Marks Write a function "PrintAddress" that takes two parameters, the segment and offset parts of an address, via the stack. The function should print the physical address corresponding to the segment offset pair passed at the top left of the screen. The address should be printed in hex and will therefore occupy exactly five columns. For example, passing 5600(Segment address) and 7800(offset address) as parameters should result in 5D800 printed at the top left of the screen. Note: Subroutine should save and restore the original value stored in register i.e. must not change the register values. Question 2: 60-Marks Write an assembly program that finds the frequency of each English alphabet character in the paragraph (array of characters) given below. Display the character along with its frequency on the screen. Note: Your program should work for any paragraph. For example: 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,0

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

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions