Assembly language program to sort numbers in ascending or descending order
$30-5000 USD
Completed
Posted over 19 years ago
$30-5000 USD
Paid on delivery
Please write an 80x86 assembly language program that reads a number of decimal integers (positive, negative and zero) specified as command line arguments (seperated by blank spaes), sorts them in an ascending or descending order as requested by the user and prints out the sorted sequence of integers. A valid interger must be between -32768 and 32767. The user may request that the numbers be sorted in an ascending order by specifying the switch '/a' as the first command line argument or specify '/d' as the first command line argument to ask for the numbers to be sorted in descending order. Program should print a helpful message explaining the program usage to the user if the user does not specify '/a' or '/d' or if the user explicitly requests help by specifying either the switch '/help/' or '/?'.
Please comment throughout the program. Program should not die given invalid input. Program should be divide into modules (subprograms/macros). Should use own code for doing I/O using interrupts and not use macros/subprograms defined in the [login to view URL]
You can also access the project at:
<[login to view URL]~aupal/teach/2100/f04/[login to view URL]>
## Deliverables
1) Complete and fully-functional working program(s) in executable form (.exe file) as well as complete source code of all work done (.asm file). Also include solution algorithm
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
Microsoft windows using masm615