Micro Assembly Programming

CLOSED
Bids
8
Avg Bid (CAD)
$37
Project Budget (CAD)
$10 - $30

Project Description:
LISTS OF NUMBERS

INSTRUCTIONS
Write an assembly language program that prompts the user for a list of unsigned hex numbers, stores them in memory (buffer) and then displays the entire list of numbers. The user is prompted for the length of the list at the start of the program. The maximum length of the list is 16 (10 Hex). If the length is given as 0 the program terminates.

The program must use the following procedures:
GETLIST
Gets a list of unsigned hex numbers (words) from the keyboard and stores them in the buffer pointed to by SI. The length of the list is in the CX register. The user is prompted for each number.
Entry: SI - points to buffer to be used to store list (in the Data Segment)
CX - number of items in the list
Registers: All saved except flags.

DISPLAYLIST
Displays a list of unsigned words. SI points to the start of the list and CX contains the length of the list. If the length is zero (0) nothing will be displayed and the procedure returns.
Entry:
SI - start of list (in the Data Segment)
CX - number of items in the list
Registers: All saved except for flags

The report must be handed in at the start of the next lab period. The report should contain a cover page, a brief description of the program, a sample output, a report on testing, (which must in a table) and a conclusions section that includes mention of any known bugs or problems. Attach the printout of the source file. As always, the program must be properly documented.

Notes on how to get started:
1. The DISPLAYLIST procedure will be developed with the teacher in the lab.
2. Use the program from lab 3 as a template.
3. Declare the buffer using the DUP operator, e.g. 100 DUP(?) saves space for 100 items.
4. Use the procedures provided in LIBRARY.OBJ. An extern statement is required to use the procedures in your program. E.g.,
extrn msg:near, hexout:near, hexin:near
5. Declare procedures as follows:
GETLIST PROC NEAR
……………
RET
GETLIST ENDP
6. Use PUSH and POP to save and restore registers.
7. The testing strategy and report will be discussed in the lab.

Skills required:
x86/x64 Assembler
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 50
in 3 days
$ 40
in 2 days
$ 40
in 1 days
Hire russprius
$ 25
in 1 days
Hire davidgrs
$ 50
in 1 days
$ 32
in 3 days
$ 30
in 2 days
Hire nachimd1985
$ 25
in 1 days