Share
Explore BrainMass

Marie assembly: maximum value in an array

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.

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