Micro Assembly Programming

This project received 8 bids from talented freelancers with an average bid price of $37 CAD.

Get free quotes for a project like this
Employer working
Skills Required
Project Budget
$10 - $30 CAD
Total Bids
Project Description


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:
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.

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.
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:
6. Use PUSH and POP to save and restore registers.
7. The testing strategy and report will be discussed in the lab.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online