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..
Program for game by using microcontroller 8051, I want to do a program as a...
I want to do a program as a game by using the Microcontroller 8051 with the assembly language, by using 4*4 keypad and its matrix display. I have to use the keypad for playing the
Program, wap proram for bthe addition of two 3*3 matrix
wap proram for bthe addition of two 3*3 matrix
Base convertor, take an integer and its base and the base in which you want...
take an integer and its base and the base in which you want to convert the number from user and perform conversion.
External system bus architecture-microprocessor, External System Bus Archit...
External System Bus Architecture : This is a 16 bit processor with 40 pins. It has twenty address pins and out of which sixteen are utilized as data pins. This concept of by us
8088 associated with 8259 a-microprocessor, For an 8088 the 2 addresses lin...
For an 8088 the 2 addresses linked with an 8259A are normally consecutive, and the AO line is associated to the AO pin, but because there are just 8 data pins on the 8259A and the
Program to generate waveforms connected, Write a 68hc11 assembly language p...
Write a 68hc11 assembly language program which generation of the following waveforms connected to your DAC i) Square wave ii) Saw tooth waveform iii) Sine wave iv) U
CONSTANTS, Ask question #MinimuWHAT ARE CONSTANTS AND WHAT DO THEY DO?m 100...
Ask question #MinimuWHAT ARE CONSTANTS AND WHAT DO THEY DO?m 100 words accepted#
Lods-stos-string manipulating instruction-microprocessor, LODS : Load Stri...
LODS : Load String Byte or String Word:- The LODS instruction loads AL/AX register by the content of a string pointed to by DS:SI register pair. The SI is automatically modifie
Al registre, check the al-register for palindromic number
check the al-register for palindromic number
Length-assemblers directive-microprocessor, LENGTH : Byte Length of a Labe...
LENGTH : Byte Length of a Label: This directive is not available in MASM. This is used to mention to the length of a data array or a string. MOV CX. LENGTH ARRAY This sta
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.