Explore BrainMass

Explore BrainMass

    Marie assembly: maximum value in an array

    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!

    Write an assembly language program for the MARIE processor that will find the maximum value that is contained in an array of 8 integers. Please refer to the attachment for the general structure of the assembly language source code and more specifications regarding the assembly program.

    © BrainMass Inc. brainmass.com March 4, 2021, 10:08 pm ad1c9bdddf


    Solution Preview

    To run the attached Marie program (303855.mas), follow the given sequence of steps.

    1. Start the simulator and invoke the edit menu to run the editor.
    2. Open 303855.mas in the editor and then assemble it. This will generate .mex, .map and .lst files corresponding to it.
    3. Now, go back to ...

    Solution Summary

    Solution also gives C style pseudo-code for implemented logic, along with detailed comments in assembly code that will help in understanding how this pseudo-code has been translated into Marie assembly code.