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

  Assume the javascript variables greeting

Write down a line of code to replace line 3 above which will create a greeting 'Hello Earthling!' with a space in between 'Hello' and 'Earthling' and an exclamation mark at the end.

  Dns within a windows server 2008 environment

Write three pages about DNS and how we use DNS within a Windows Server 2008 environment. In your paper , please focus on the two items. First, focus on DNS and how it functions.

  Modify a for loop that calculates the total

modify a While Loop that lets the user enter a number. The number should be multiplied by 10, and result stored in a variable named product. The loop should iterate as long as product contains a value less than 100.

  Write an application that extends jframe

Write an application that extends JFrame and that displays a yellow smiling face on the screen. save file as JSmileFace.java

  Design a gui program that calculates a car gas millage

Design a GUI program that calculates a car's gas millage. The program's window should have text boxes that let the user enter the number of gallons of gas the car holds, and the number of miles it can be driven on a full tank.

  Proposing the reasonable values

Propose the reasonable values for items in risk register for this asset and threat, and give the justifications for your choices.

  Multiple functions with input/output parameters

Write down a menu program which will print different formulas and perform the calculations. For every menu choice, show the formula and prompt for essential values. Then calculate and print area and perimeter.

  How various bits are needed for the program counter

How various bits are needed for the program counter and the instruction register?

  When does pipelining not offer any benefit

How does branch prediction, forwarding, and stalls help make a computer faster.

  How would you propose the update to star topology

How would you propose the update to Star topology

  Create a function definition called addarray

Write down a function definition called addarray that takes two parameters- one an array as an int and the other an int that contains the number of elements of the array. The function would return the sum of the number of elements of the array as ..

  Sha-256 and rc4

SHA-256 (with 256-bit output) is more resistant to the attacks based on birthday paradox than SHA-1. Key reuse is deadly for the stream ciphers such as RC4.

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