Display all integer values in decimal

Assignment Help Computer Engineering
Reference no: EM13337185

For this first part of the project, you MIPS sim rogram will accept a binary input file input filename and given operation dis will output to out put file name the MIPS disassembly of the input file.

The disassembler output file will contain 4 columns of data with each column separated by onespacecharacter (' '):

  • The binary (e.g.,0's and1's) string representing the 32-bit data word at that location. For instructions you should split this into six groups of digits to represent different parts of the MIPS instruction word: a group of 6 bits, 4 groups of 5 bits, and a final group of 6 bits.
  • The address (in decimal) of that location.
  • The disassembled instruction opcode+other fields, or a signed decimal integer value, depending on whether the current location is after the BREAK instruction.
  • If you are displaying an instruction, the fourth column should contain the remaining part of the instruction, with each argument separated by a comma and then a space. (", ")

The instructions and instruction arguments should be in capital letters. Display all integer values in decimal. Immediate values should be proceeded by a "#" symbol. Be careful some instructions take signed immediate values while others take unsigned immediate values. You will have to make sure you properly display a signed or unsigned value depending on the context.

Because we will be using 'diff' to check your output versus ours, try to follow the exact output format.

 

Reference no: EM13337185

Questions Cloud

Explain when heated kclo3 solid forms solid kcl and o2 gas : When heated, KClO3 solid forms solid KCl and O2 gas. A sample of KClO3 is heated and 226 mL of gas with a pressure of 744 mmHg is collected over water, at 26°C. At 26°C, the vapor pressure of water is 25 mmHg.
How much will oxford engineerings total profits change : How much will Oxford Engineering's total profits change if they decide to buy the starter assembly from Tidnish Electronics instead of making it themselves?
Discuss briefly why magnitude and direction of knee reaction : Using your knowledge of statics, discuss briefly why the magnitude and direction of the knee reaction force varies with the amount of lower leg flexion and the amount of added weight.
How long is the arm of the centrifuge : In a large centrifuge used for training pilots and astronauts, a small chamber is fixed at the end of a rigid arm that rotates in a horizontal circle. How long is the arm of the centrifuge
Display all integer values in decimal : The instructions and instruction arguments should be in capital letters. Display all integer values in decimal. Immediate values should be proceeded by a "#" symbol.
How many revolutions has the ball made while in the air : A quarterback throws a pass that is a perfect spiral. In other words, the football does not wobble, how many revolutions has the ball made while in the air
Explain what is the heat capacity of the bomb : Its value has been accurately determined to be 3226.7 KJ/m. When 3.0285g of benzoic acid are burned in a calorimeter, the temperature rises 3.84 degrees Celsius. What is the heat capacity of the bomb
Determine what is the speed v-final of the electron : An electron is released from rest at the point midway between the two charges, and it moves along the line connecting the two charges. What is the speed vfinal of the electron
Reconcile quantaccs 2013 net income : Prepare a schedule to reconcile Quantaccs 2013 net income and December 31, 2013 stockholders' equity under IFRS to US GAAP.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Give a variable whose value is a letter grade

suppose that grade is a variable whose value is a letter grade-- any one of the following letters: 'A', 'B', 'C', 'D', 'E', 'F', 'W', 'I'. Assume further that there are the following int variables, declared and already initialized: acount, bcount,..

  Define testing and debugging in terms of run time

define in your own words the difference between testing and debugging.

  Program would update the account to reflect payment

After discussing this with your uncle, you agree to set up a computer and make a program that would keep track of his clients. It would calculate the bills and print invoices that would be mailed to the clients. It will also keep track of the clie..

  Program declaring the variables-using proper variable naming

Your program should declare all the variables and utilize the proper variable naming conventions.

  What are the reasons of project failure

Make sure to contain how and why project was initiated, what setting up was done, how plan went wrong and what was done to solve the trouble. What are the reasons of project failure

  How pert may be used for strategic decision making

Based on the article "One Application for Using PERT Methodology in Strategic Decisions," write down a memo to your CIO recommending how PERT may be used for strategic decision making and assisting project managers who need to deal with complex pr..

  Find significant inversions in the input sequence

offer an O(n*log(n)) algorithm to count the number of significant inversions in the input sequence.

  Write c program prompt the user for a filename to open

write C program prompt the user for a filename to open

  Find out the number of times a string is present

How to use Java classes to find out the number of times a string is present in another string.

  Drawbacks of supporting links to files that cross mount

explain the advantages and disadvantages of supporting links to files that cross mount points (that is, the file link refers to a file that is stored in a different volume).

  Which data structure is the optimum one

When lots of inserts & deletes are involved. When you have no clue about how big the list would grow.

  Explain how css are used in developing websites

explain how CSS are used in developing websites.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd