Purchase Solution

Marie assembly: maximum value in an array

Not what you're looking for?

Ask Custom Question

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
Purchase this Solution

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.

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 ...

Purchase this Solution


Free BrainMass Quizzes
Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

C# variables and classes

This quiz contains questions about C# classes and variables.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.