Marie guide 1 A Guide to the MARIE Machine Simulator Environment Accompanying The Essentials of Computer Organization and Architecture e by Linda Null and Julia Lobur Version ?? June Introduction Your authors have made every e ?ort to create a MARIE machi
A Guide to the MARIE Machine Simulator Environment Accompanying The Essentials of Computer Organization and Architecture e by Linda Null and Julia Lobur Version ?? June Introduction Your authors have made every e ?ort to create a MARIE machine simulator that is as Really Intuitive and Easy to use as the MARIE architecture is to understand We believe that the best way to gain a deep understanding of the MARIE machine ??or any computer system for that matter ??is to write programs for it Toward our goal of helping you to understand how computers really work we have created the Marie machine simulator MarieSim MarieSim is an environment within which you can write your own programs and watch how they would run on a real von Neumann architecture computer system By running programs on this simulator not only will you see your programs in action but you will also get a taste of assembler language programming without learning any particular assembly language beyond the simple instructions that your authors have presented MarieSim was written in the Java language so that the system would be portable to any platform for which a Java Virtual Machine JVM is available Students of Java may wish to look at the simulator's source code and perhaps even supply improvements or enhancements to its simple functions As of Version the MarieSim environment has also been provided with a data path animator called MarieDPath We describe the operation of this simulator following our description of MarieSim operation Installation The MARIE machine simulator requires Sun's Java SDK or later This software is available at no charge from the java sun com Web site After this package is installed you may run the simulator directly from the JAR ?les that have been provided It is not necessary to unpack or unJAR the MARIE machine simulator and its accompanying datapath simulator in order to run them All that you need to do is copy or drag and drop the respective JAR Java archive ?les to any convenient location on your system and double click on the icon to invoke the simulator Proceed to the section of this manual titled The MarieSim Environment If you would prefer to run the Marie simulator from the command prompt you may use the command java -jar MarieSim jar If you prefer you may manually unpack the class ?les in order to run the bytecode The Java archive ?le MarieSim jar case sensitive can be placed in the directory of your choosing The following command will uncompress the archive jar xvf MarieSim jar If the archive uncompresses correctly you will have the main MARIE simulator class ?le MarieSim class and two MARIE code example ?les in your directory Jar will also create two subdirectories Meta-inf and MarieSimulator The MarieSimulator Csubdirector contains all of the many other classes required for simulator operation The Meta-inf subdirectory is created by jar If you also wish to see MARIE's source code you can obtain the MarieSource jar ?le that
Documents similaires
-
22
-
0
-
0
Licence et utilisation
Gratuit pour un usage personnel Aucune attribution requise- Détails
- Publié le Aoû 21, 2021
- Catégorie Industry / Industr...
- Langue French
- Taille du fichier 62.8kB