Assignment 5

pdf

School

University of Illinois, Urbana Champaign *

*We aren’t endorsed by this school

Course

230

Subject

Electrical Engineering

Date

Dec 6, 2023

Type

pdf

Pages

1

Report

Uploaded by PrivateWalrus3275

CSE/EEE 230 – Assignment 5 Important: This is an individual assignment. Please do not collaborate. Make sure to follow the academic integrity policies. Using work done by someone else will be considered a violation of the academic integrity and will result in a report to the Dean's office. Your work should not match with anything found online. Copying any part of this assignment, and providing them to another person or posting them on the Internet without a permission of the instructor will be a violation of its copyright. http://www.asu.edu/copyright/ No late submissions will be accepted. Show all the steps to receive full credit. There is one question. The score will be scaled down to a total of 3 points. Question: Show the execution of the given code. For each line of the code, write the following: (a) Name of register modified and the updated value Or Address of memory modified and the updated value Or Specify No change in registers and memory if none of them are modified Or Specify Not executed if the instruction is not executed for the given inputs And (b) Label of the next instruction executed. MIPS Code: Line1: lui $s0, 16240 Line2: lui $s1, 16472 Line3: mtc1 $s0, $f0 Line4: mtc1 $s1, $f2 Line5: c.le.s $f0, $f2 Line6: bc1f Line9 Line7: mul.s $f4, $f0, $f2 Line8: j Line10 Line9: div.s $f4, $f0, $f2 Line10:
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help