Explore BrainMass
Share

Explore BrainMass

    Marie assembly: maximum value in an array

    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 October 10, 2019, 12:43 am ad1c9bdddf
    https://brainmass.com/computer-science/pseudocode/marie-assembly-maximum-value-in-an-array-303855

    Attachments

    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.

    $2.19