Customer Service Chat
Get quote & make Payment
Lab Assignment, Assembly Language
1) Write an 80x86 assembly language program in EXE file format to do the following
a) Open and read the contents of a file into memory (use at least 1 kB).
b) Sort the list in numerical order using the bubble sort method.
c) Display the results on the screen using the same format in (a).
d) Save the output in the same file
e) Uses some of the code from labs 2 and 3 as well as new code.
2) Use the following procedures:
a) MAIN: the main procedure.
b) READ: reads the score file.
c) DISPLAY: display the contents of the binary file.
d) SORT: sort the entries in alphabetical order.
e) ERROR: handles file errors.
f) ADD_SCORE: adds a new score to the list
g) SAVE: consolidates the file to only contain the scores in the list, and saves them
in order. It only saves the top 10 scores!
3) All the DOS function calls used for file I/O should be added as MACROs to your
4) The high score list is organized as a singly-linked list. Each entry contains two fields:
a) A pointer (offset address) to the next element. The data type is WORD (16-bit).
b) The text field contains a numerical score (ASCII) followed by a '' : '', followed by a
name, and is terminated by 2 spaces ('' ''). The data type is BYTE.
c) The list should only contain 10 scores. (The file may contain more than 10)
d) Each name can be limited to 5 characters.
e) The score must be able to range from 0 to 16777215.
5) There has been some confusion in the past about this lab.
a) I will not provide a score file. You need to have code that can create the file.
b) Printing strings and writing to files will get you some points, but you need to get
the linked list working and sorted to get a good grade.
c) You don’t explicitly declare a linked list in memory. You just declare a buffer
space where the linked list will be read to, added to, sorted, and written from.
Posted Date: 10/21/2012 11:28:53 PM | Location : United States
Ask an Expert
Lab Assignment, Assignment Help, Ask Question on Lab Assignment, Get Answer, Expert's Help, Lab Assignment Discussions
Write discussion on Lab Assignment
Your posts are moderated
Write your message here..
Dma hardware (8237 dmac)-microprocessor, DMA Hardware (8237 DMAC) : ...
DMA Hardware (8237 DMAC) : 1)Processor contain HOLD/HOLD Acknowledge lines to interact with 8237 o DMAC can achieve control of ISA bus by asserting HOLD o P
Average of odd numbers, write an assembly language program to find average ...
write an assembly language program to find average of odd numbers from an array of 8 bit numbers
Program to find out positive and negative numbers-assembly, Program : W...
Program : Write an assembly program to find out the number of positive numbers and negative numbers from a given series of signed numbers. Solution : Take the i th num
Xml, Write the structure of For…Next loop in VB.Net and also write a progra...
Write the structure of For…Next loop in VB.Net and also write a program to print integers from 1 to 10 on the console.
Programming, Using the following table as a guide, write a program that ask...
Using the following table as a guide, write a program that asks the user to enter an integer test score between 0 and 100. The program should display the appropriate letter grade.
maximim and minimum mode 8088-microprocessor, Maximim and Minimum mode 808...
Maximim and Minimum mode 8088 system : In the maximum mode, the pin 880 is lastingly high. The functions and timings of other pins of 8088 are exactly similar to 8086. Due to t
Aam-arithmetic instruction-microprocessor, AAM: ASCII Adjust for Multiplic...
AAM: ASCII Adjust for Multiplication after execution. This instruction converts the product available in the AL into unpacked BCD format. This follows a multiplication instruct
Using straight line method for depreciation, Request a depreciation of the...
Request a depreciation of the item, year of purchase, cost of item, number of years to be depreciated (estimated life ) and,the method of depreciation . Method of depreciation sh
8088 timing system diagram-Microprocessor, 8088 Timing System Diagram ...
8088 Timing System Diagram The 8088 address/data bus is divided in 3 parts (a) the lower 8 address/data bits, (b) the middle 8 address bits, and (c) the upper 4 status/
Hashing, what is double hashing
what is double hashing
Accounting Assignment Help
Economics Assignment Help
Finance Assignment Help
Statistics Assignment Help
Physics Assignment Help
Chemistry Assignment Help
Math Assignment Help
Biology Assignment Help
English Assignment Help
Management Assignment Help
Engineering Assignment Help
Programming Assignment Help
Computer Science Assignment Help
IT Courses and Help
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Follow Us |
T & C
Copyright by ExpertsMind IT Educational Pvt. Ltd.