Explore BrainMass
Share

Marie assembly: maximum value in an array

This content was STOLEN 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 25, 2018, 2:32 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
See Also This Related BrainMass Solution

Reengineering

Define reengineering. Does it offer something of lasting value?Submit examples of situations where reengineering and examples where you would not recommend using this strategy. Be sure to support your answer.

View Full Posting Details