Write a program to search a particular element from an array

Assignment Help Basic Computer Science
Reference no: EM13307342

These are two programs. I need someone to write Assembly Programming codes for these two programs. The Architecture is 8086. File format .asm and it should work in NASM.

1. Write a program to search a particular element from an array using binary search. If the element is found set AX to one and otherwise to zero. It needs to be sorted first. Code should do the sorting part and then same code implements binary search. Code should be generic, take
array elements and array size in memory.


2. Take two arrays in memory as input sets, and find;

a) union
b) intersection
c) difference
of these two sets and store the result sets in the memory.

 

Reference no: EM13307342

Questions Cloud

Write a recursive method that will calculate nth fibonacci : Fibonacci numbers are really fascinating and turn up in many unexpected places. They are also a good example of recursion. write a recursive method that will calculate the nth Fibonacci number. Now write a method that will do it iteratively.
The liberties that americans enjoy : September 17th is Constitution Day-- the anniversary of the day that the constitution was signed in 1787. The United States Constitution expressed in written word the ideals on which America was founded and the liberties that Americans enjoy.
What mass of sand can be put on the raft : A wooder raft has mass of 76kg. When empty it floats in water (density 1000 kg/m^3) with 40% of its volume submerged
Define advertising design in order to ensure better impact : The problem statement is, "To improve the advertising design in order to ensure better remembrance and impact on the audiences" Advertising is an essential element in the present day organizations
Write a program to search a particular element from an array : Write a program to search a particular element from an array using binary search. If the element is found set AX to one and otherwise to zero.
Determine what is the concentration of nox : At 100 km downwind (y=10m), what is the concentration of NOx in g/m^3. The wind speed at the top of the stack with a height of 100m is 6.5 m/s and an inversion layer of 750m Pressure air = 95kPa
Obtain the index of refraction of the material : A beam of light of wavelength 569 nm traveling in air is incident on a slab of transparent material. Find the index of refraction of the material
Majority or minority of todays strategic leaders : As a strategic leader, determine if you would feel ethically responsible for developing your firm’s human capital and state why. Discuss whether or not you believe your position is consistent with the majority or minority of today’s strategic leaders..
Sense of the sacredness of human life : What does the exercise tell you about your tendency to rely on deontological or utilitarian reasoning? What does it tell you about your sense of the sacredness of human life?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Develop a c program

Develop a C program. The program should implement and test the following function: uint countOnes(uint hexNumber); The function will return the number of one bits in hexNumber.

  Find the error in the following pseudocode

Find the error in the following pseudocode. Constant Real GRAVITY = 9.81 Display "Rates of acceleration of an object in free fall:"

  The privacy protection act

The Privacy Protection Act (PPA) as it relate to computer forensics

  What do you mean by ascii or ebcdic

What is ASCII or EBCDIC? What part do the aforementioned things play in hashing? What is the formula for the PPD? What does the numerator and denominator say about the potential performance issues of this metric?

  Assessing security risks for determining infrastructure

As part of project to assess security risks for determining infrastructure, you have found that other managers often have various ideas on severity and levels of risk.

  Compare swing java gui components to awt components

Compare Swing Java GUI components to AWT components. Explain at least one way the components are similar and at least one way they are different. Provide examples to support your rationale.

  Write a unit test of minmax in a main function

Write a function that computes the minimum and maximum of two integer variables and returns them through call-by-refernce parameters. It should have the following prototype: int minmax(int a, int b, int * min, int * max); Write a unit test of minm..

  Highlight element enables highlight the text.true or false

The highlight element enables you to highlight the text. True or False

  Create logic circuit to decode dtmf-like keypad

Create the logic circuit which will decode a DTMF-like keypad. Keypad comprises of 16 keys, numbered 0 to 9, *, #, A, B, C, and D. Underneath keypad are four horizontal lines and four vertical lines.

  What is the goal of computer forensics

What is the goal of computer forensics? How do investigators retrieve and analyze data?How is the information used in investigations?

  Write nested for loops to produce the following output

Write nested for loops to produce the following output

  Is igital divide likely to last more than one generation

In developed countries and some less developed countries, computers and Internet access are available in schools. Is the "Digital Divide" likely to last more than one generation?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd