Need help with this homework

Learning Goal: I’m working on a c# question and need the explanation and answer to help me learn.

Write 2 programs, one in C and one in MIPS assembly language that:

  • prints your name which is (AAA )and Red ID which is (1290341)
  • inputs an integer number from the keyboard
  • shifts the input number equivalent to multiplying it by 8
    • Shifting a binary number left or right is the same as multiplying or dividing by a power of 2. Similarly in decimal numbers moving the decimal point right or left is the same as multiplying or dividing by a power of 10. The point is to use a shift operation, not a multiply instruction.
  • prints the result

You must submit THREE files:

1) Your .asm MIPS assembly file named as: HW2-YourName.asm

2) Your main.c source file

3) A brief report document file in .pdf .doc or .docx including:

  • a description of the program
  • a screen shot showing both C and MIPS programs working
  • the .c and .asm source code MUST be pasted into the doc file
Our customer support team is here to answer your questions. Ask us anything!