Explore BrainMass

Explore BrainMass

    assembly language program

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    I need help with completing the following specification for an assembly language program. This is a practice question. This is part of an overall assignment that I am stuck at.

    The program needs to check the current disk drive and report:

    ? The drive letter which would normally be assigned by DOS
    ? The amount of used space on the disk
    ? The amount of free space on the disk
    ? An indication that disk reorganisation is advised if the free space falls below 10% of the total available space.

    Any naming conventions for program labels, sub-programs, variable names etc can be used.

    Please could each line in the source code be documented with a remark explaining what it does so that I can understand it.

    I would like the program to include:

    ? Data transfer
    ? Arithmetic & logical operations
    ? Conditional and unconditional branching
    ? Immediate, direct and indexed memory addressing
    ? Sub-programs, macros and function calls
    ? The program once assembled should operate as a .COM file

    Thanx this will be a great help in trying to understand this.

    © BrainMass Inc. brainmass.com March 4, 2021, 6:24 pm ad1c9bdddf

    Solution Preview

    Dear Student,
    I have submitted a solution. I spent quite amount ...

    Solution Summary

    An assembly language program is devised.